Commit 3b9c214a authored by Dave Airlie's avatar Dave Airlie

drm/ttm: use gfp_t instead of int for flags.

fixes sparse warning.
Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
parent 2d31ca3a
......@@ -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);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment