提交 3b9c214a 编写于 作者: D Dave Airlie

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

fixes sparse warning.
Signed-off-by: NDave Airlie <airlied@redhat.com>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册