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-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=3b9c214a28e3c611a5322257574dc7b725558e04;p=openwrt%2Fstaging%2Fblogic.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);