]> git.baikalelectronics.ru Git - 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)
commitd3b9efb1f020600256a02df62ca963df63f3c336
treee8698feb6aea1024ff2303e8b40f23b4abbb8adb
parente4db095ef8d55f28600646c3d723b841685f54a2
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