Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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



fixes sparse warning.

Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
parent 2d31ca3a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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);