]> 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)
commit4b404678ecf421065e338973229dfe76ee176354
treefad1b3ae6daecb2c6fc6b952c4bc8248be01a651
parent6f4af2a8641d652136179956cb1394569e859063
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