]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
ttm: use NULL instead of 0 for ttm_bo_reserve()'s pointer arg.
authorMartin Kepplinger <martink@posteo.de>
Sun, 15 Jun 2014 00:10:39 +0000 (02:10 +0200)
committerDave Airlie <airlied@redhat.com>
Tue, 8 Jul 2014 01:28:28 +0000 (11:28 +1000)
commit0eff2a24d66cfa84ed803782c8614b4538126394
treee8698feb6aea1024ff2303e8b40f23b4abbb8adb
parent2023d84d2c3b7a4b8fc5c64c08c59c4e1505e2d3
ttm: use NULL instead of 0 for ttm_bo_reserve()'s pointer arg.

Fix a sparse warning: ttm_bo_reserve()'s last argument is a
pointer to a struct, so use NULL as nullpointer.

Signed-off-by: Martin Kepplinger <martink@posteo.de>
Reviewed-by: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/ttm/ttm_bo.c