]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita4e9f216f9400872f1fea81a3d3c07938721f1ec
treefad1b3ae6daecb2c6fc6b952c4bc8248be01a651
parent9fe34b7492f726a2215b9bf9c8904c1ec64de7bd
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