drm/vmwgfx: Fix NULL pointer comparison
authorRavikant B Sharma <ravikant.s2@samsung.com>
Tue, 8 Nov 2016 12:00:31 +0000 (17:30 +0530)
committerSinclair Yeh <syeh@vmware.com>
Tue, 18 Jul 2017 06:40:34 +0000 (23:40 -0700)
commit1a4adb05632e902c9819af7c5eeded5243f1dc6c
tree16e9b70e3f2822f6aed2a3e387e5441803647f39
parent9ff1beb1d19ffe2b26bf9cd2d33e6073d4f4b5fe
drm/vmwgfx: Fix NULL pointer comparison

Replace direct comparisons to NULL i.e.
'x == NULL' with '!x'. As per coding standard.

Signed-off-by: Ravikant B Sharma <ravikant.s2@samsung.com>
Reviewed-by: Sinclair Yeh <syeh@vmware.com>
Signed-off-by: Sinclair Yeh <syeh@vmware.com>
drivers/gpu/drm/vmwgfx/vmwgfx_cmdbuf_res.c
drivers/gpu/drm/vmwgfx/vmwgfx_context.c
drivers/gpu/drm/vmwgfx/vmwgfx_cotable.c
drivers/gpu/drm/vmwgfx/vmwgfx_drv.c
drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c
drivers/gpu/drm/vmwgfx/vmwgfx_fence.c
drivers/gpu/drm/vmwgfx/vmwgfx_gmrid_manager.c
drivers/gpu/drm/vmwgfx/vmwgfx_mob.c
drivers/gpu/drm/vmwgfx/vmwgfx_msg.c
drivers/gpu/drm/vmwgfx/vmwgfx_resource.c
drivers/gpu/drm/vmwgfx/vmwgfx_shader.c