selinux: Adjust four checks for null pointers
authorMarkus Elfring <elfring@users.sourceforge.net>
Sat, 14 Jan 2017 11:36:59 +0000 (12:36 +0100)
committerPaul Moore <paul@paul-moore.com>
Thu, 23 Mar 2017 20:36:38 +0000 (16:36 -0400)
commitcb8d21e3640f18444c597bddaec156637eacecf8
tree833aff2edc3d7fd64e14fa07450e3eca9f41a16c
parent2f00e680fe25d8d2758879b772d54cb46a78b59d
selinux: Adjust four checks for null pointers

The script "checkpatch.pl" pointed information out like the following.

Comparison to NULL could be written !…

Thus fix affected source code places.

Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Signed-off-by: Paul Moore <paul@paul-moore.com>
security/selinux/ss/hashtab.c