mirror of
https://github.com/torvalds/linux.git
synced 2024-12-16 08:02:17 +00:00
drm/ttm: use gfp_t instead of int for flags.
fixes sparse warning. Signed-off-by: Dave Airlie <airlied@redhat.com>
This commit is contained in:
parent
2d31ca3ad7
commit
3b9c214a28
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user