diff options
author | 2016-01-12 12:27:43 +0300 | |
---|---|---|
committer | 2016-01-19 15:17:40 -0500 | |
commit | bc1251e6d9420fec4c6b328bcf9ea4e5bdecd30d (patch) | |
tree | 43006b154498e1ce612d2adb86b1348b7f87b027 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | IB/qib: Support creating qps with GFP_NOIO flag (diff) | |
download | wireguard-linux-bc1251e6d9420fec4c6b328bcf9ea4e5bdecd30d.tar.xz wireguard-linux-bc1251e6d9420fec4c6b328bcf9ea4e5bdecd30d.zip |
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>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions