Commit 4251f63
RDMA/bnxt_re: Fix an IS_ERR() vs NULL check
The bnxt_re_mmap_entry_insert() function returns NULL, not error pointers.
Update the check for errors accordingly.
Fixes: 360da60 ("RDMA/bnxt_re: Enable low latency push")
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Dan Carpenter <[email protected]>
Acked-by: Selvin Xavier <[email protected]>
Signed-off-by: Jason Gunthorpe <[email protected]>1 parent d1d7fc3 commit 4251f63
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4214 | 4214 | | |
4215 | 4215 | | |
4216 | 4216 | | |
4217 | | - | |
4218 | | - | |
| 4217 | + | |
| 4218 | + | |
4219 | 4219 | | |
4220 | 4220 | | |
4221 | 4221 | | |
| |||
0 commit comments