linux/drivers/infiniband/hw
Dan Carpenter bc1251e6d9 RDMA/nes: checking for NULL instead of IS_ERR
nes_reg_phys_mr() returns ERR_PTRs on error.  It doesn't return NULL.

This bug has been there for a while, but we recently changed from
calling a function pointer to calling nes_reg_phys_mr() directly so now
Smatch is able to detect the bug.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Doug Ledford <dledford@redhat.com>
2016-01-19 15:17:40 -05:00
..
cxgb3 iw_cxgb3: Fix incorrectly returning error on success 2015-12-24 00:17:30 -05:00
cxgb4 iw_cxgb4: Pass qid range to user space driver 2015-12-24 00:17:30 -05:00
mlx4 IB/mlx4: Convert kmalloc to kmalloc_array for checkpatch 2015-12-24 00:17:32 -05:00
mlx5 IB/mlx5: report tx/rx checksum cap in query results 2015-12-24 00:17:32 -05:00
mthca IB: remove in-kernel support for memory windows 2015-12-23 14:29:04 -05:00
nes RDMA/nes: checking for NULL instead of IS_ERR 2016-01-19 15:17:40 -05:00
ocrdma RDMA/ocrdma: Depend on async link events from CNA 2016-01-19 14:00:47 -05:00
qib IB/qib: Support creating qps with GFP_NOIO flag 2016-01-19 15:17:40 -05:00
usnic IB/usnic: delete unneeded IS_ERR test 2015-12-23 10:50:58 -05:00
Makefile IB/ehca: Deprecate driver, move to staging, schedule deletion 2015-09-11 18:13:35 -04:00