Staging: xgifb: Fix NULL pointer comparison warning
authorManinder Singh <maninder.s2@samsung.com>
Thu, 20 Oct 2016 12:47:03 +0000 (18:17 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 25 Oct 2016 08:56:16 +0000 (10:56 +0200)
commit6d408e0b94061d7d38b66175cb4698bbe2423815
tree88dbd9c8624322c7bce0d4ffe098c7ac9a987503
parent31b15fe6262a62a116c2347419ad39c56b25b3d7
Staging: xgifb: Fix NULL pointer comparison warning

Replace direct comparisons to NULL i.e.
'x == NULL' with '!x'.
This problem was detected by checkpatch.

Signed-off-by: Maninder Singh <maninder.s2@samsung.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/xgifb/XGI_main_26.c