drm/i915: use NULL for NULL pointers
authorJani Nikula <jani.nikula@intel.com>
Thu, 15 Sep 2016 13:28:55 +0000 (16:28 +0300)
committerJani Nikula <jani.nikula@intel.com>
Fri, 16 Sep 2016 07:35:43 +0000 (10:35 +0300)
commit911f4869eb334cb397c9c40c4b8893fcd93880ed
tree71a526a89c95ea2ef6a3c6bf8db88d25e05fecee
parentbcbfcc37cdd4fd7564a6657d5d6bd4719079900b
drm/i915: use NULL for NULL pointers

Fix sparse warning:

drivers/gpu/drm/i915/i915_cmd_parser.c:987:72: warning: Using plain
integer as NULL pointer

Fixes: 52a42cec4b70 ("drm/i915/cmdparser: Accelerate copies from WC memory")
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Dhinakaran Pandiyan <dhinakaran.pandiyan@intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1473946137-1931-4-git-send-email-jani.nikula@intel.com
drivers/gpu/drm/i915/i915_cmd_parser.c