staging/rdma/hfi1: diag.c change null comparisons
authorIra Weiny <ira.weiny@intel.com>
Wed, 2 Dec 2015 05:43:30 +0000 (00:43 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 21 Dec 2015 21:53:37 +0000 (13:53 -0800)
commit47bc16971939367a8e6b5c38637ba8afb3b8908d
treef948cba07f4cba2d7d38a5954e525bab014250c5
parentbe98b87ff7d197dfc2e6cf4fea685f682f5d1cc7
staging/rdma/hfi1: diag.c change null comparisons

Use !foo rather than (foo == NULL) as recommended by checkpatch --strict

Signed-off-by: Ira Weiny <ira.weiny@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rdma/hfi1/diag.c