diff options
author | Dan Carpenter <[email protected]> | 2017-08-04 11:12:08 +0300 |
---|---|---|
committer | Doug Ledford <[email protected]> | 2017-08-04 15:09:56 -0400 |
commit | 5db465f235e74293e285e1fa924a55e52ba52a98 (patch) | |
tree | 9cca0d79c9da729f94ac883f163b9ed4c3732b70 /lib/memory-notifier-error-inject.c | |
parent | 931b3c1a832621b4bdcbaf783096fc267eb36fbe (diff) |
IB/hns: checking for IS_ERR() instead of NULL
The hns_roce_v1_create_lp_qp() returns NULL on error, not error pointers.
Fixes: bfcc681bd09d ("IB/hns: Fix the bug when free mr")
Signed-off-by: Dan Carpenter <[email protected]>
Signed-off-by: Doug Ledford <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions