diff options
| author | Kalesh AP <[email protected]> | 2024-10-08 07:41:36 +0000 |
|---|---|---|
| committer | Jason Gunthorpe <[email protected]> | 2024-10-11 23:49:01 +0000 |
| commit | 98647df0178df215b8239c5c365537283b2852a6 (patch) | |
| tree | 7dea799999a81fb54da0c47bd1fd58297c69b51b /rust/helpers/workqueue.c | |
| parent | RDMA/bnxt_re: Fix incorrect dereference of srq in async event (diff) | |
| download | kernel-98647df0178df215b8239c5c365537283b2852a6.tar.gz kernel-98647df0178df215b8239c5c365537283b2852a6.zip | |
RDMA/bnxt_re: Return more meaningful error
When the HWRM command fails, driver currently returns -EFAULT(Bad
address). This does not look correct.
Modified to return -EIO(I/O error).
Fixes: cc1ec769b87c ("RDMA/bnxt_re: Fixing the Control path command and response handling")
Fixes: 65288a22ddd8 ("RDMA/bnxt_re: use shadow qd while posting non blocking rcfw command")
Link: https://patch.msgid.link/r/[email protected]
Signed-off-by: Kalesh AP <[email protected]>
Signed-off-by: Selvin Xavier <[email protected]>
Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'rust/helpers/workqueue.c')
0 files changed, 0 insertions, 0 deletions
