drm/vmwgfx: Adjust checks for null pointers in 13 functions
authorMarkus Elfring <elfring@users.sourceforge.net>
Fri, 23 Sep 2016 15:53:49 +0000 (17:53 +0200)
committerSinclair Yeh <syeh@vmware.com>
Mon, 10 Oct 2016 20:23:16 +0000 (13:23 -0700)
commit862f6157d176c9db5a7ed423245108d9bb3d7038
treefad1b3ae6daecb2c6fc6b952c4bc8248be01a651
parentc138d03f1bf3b9c7bfd449e890cc003658b5c45a
drm/vmwgfx: Adjust checks for null pointers in 13 functions

The script "checkpatch.pl" can point information out like the following.

Comparison to NULL could be written !…

Thus fix the affected source code places.

Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Reviewed-by: Sinclair Yeh <syeh@vmware.com>
Signed-off-by: Sinclair Yeh <syeh@vmware.com>
drivers/gpu/drm/vmwgfx/vmwgfx_surface.c