diff options
author | Dan Carpenter <dan.carpenter@linaro.org> | 2023-06-27 10:20:13 +0300 |
---|---|---|
committer | Jason Gunthorpe <jgg@nvidia.com> | 2023-06-27 14:02:43 -0300 |
commit | 4251f631fdfba0b38e4634510c5950ee157cc069 (patch) | |
tree | 4fad5a2cc3db0c31c057e1bd0e11f92f2ad45f7e /drivers/iommu/mtk_iommu.c | |
parent | d1d7fc3bf6d2e6fb5d81a24dbb4120779a447b33 (diff) |
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: 360da60d6c6e ("RDMA/bnxt_re: Enable low latency push")
Link: https://lore.kernel.org/r/8d92e85f-626b-4eca-8501-ca7024cfc0ee@moroto.mountain
Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org>
Acked-by: Selvin Xavier <selvin.xavier@broadcom.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'drivers/iommu/mtk_iommu.c')
0 files changed, 0 insertions, 0 deletions