]> git.karo-electronics.de Git - linux-beck.git/commit
staging/rdma/hfi1: Fix comparison to NULL
authorJubin John <jubin.john@intel.com>
Mon, 15 Feb 2016 04:19:49 +0000 (20:19 -0800)
committerDoug Ledford <dledford@redhat.com>
Fri, 11 Mar 2016 01:45:36 +0000 (20:45 -0500)
commitd125a6c66b972e8c6768707c2814107df5963f5f
treeb9339bc0908ea5008f221ad3b10945da2b631a1c
parent50e5dcbed6b36212c40e8fee18a7f5c7bb0aca13
staging/rdma/hfi1: Fix comparison to NULL

Convert pointer comparisons to NULL to !pointer
to fix checkpatch check:
CHECK: Comparison to NULL could be written "!pointer"

Reviewed-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Reviewed-by: Ira Weiny <ira.weiny@intel.com>
Reviewed-by: Mike Marciniszyn <mike.marciniszyn@intel.com>
Signed-off-by: Jubin John <jubin.john@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/staging/rdma/hfi1/chip.c
drivers/staging/rdma/hfi1/debugfs.c
drivers/staging/rdma/hfi1/driver.c
drivers/staging/rdma/hfi1/init.c
drivers/staging/rdma/hfi1/mad.c
drivers/staging/rdma/hfi1/pio.c
drivers/staging/rdma/hfi1/rc.c
drivers/staging/rdma/hfi1/sysfs.c
drivers/staging/rdma/hfi1/verbs.c