From: Dave Airlie Date: Tue, 22 Jul 2014 02:55:39 +0000 (+1000) Subject: drm/ttm: use gfp_t instead of int for flags. X-Git-Tag: MMI-PSA29.97-13-9~11757^2~35 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=3b9c214a28e3c611a5322257574dc7b725558e04;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git drm/ttm: use gfp_t instead of int for flags. fixes sparse warning. Signed-off-by: Dave Airlie --- diff --git a/drivers/gpu/drm/ttm/ttm_page_alloc.c b/drivers/gpu/drm/ttm/ttm_page_alloc.c index 863bef9f9234..beb8e75a3f00 100644 --- a/drivers/gpu/drm/ttm/ttm_page_alloc.c +++ b/drivers/gpu/drm/ttm/ttm_page_alloc.c @@ -790,7 +790,7 @@ static int ttm_get_pages(struct page **pages, unsigned npages, int flags, return 0; } -static void ttm_page_pool_init_locked(struct ttm_page_pool *pool, int flags, +static void ttm_page_pool_init_locked(struct ttm_page_pool *pool, gfp_t flags, char *name) { spin_lock_init(&pool->lock);