RDMA/irdma: Report correct WC error
authorSindhu Devale <sindhu.devale@intel.com>
Tue, 25 Jul 2023 15:54:38 +0000 (10:54 -0500)
committerLeon Romanovsky <leon@kernel.org>
Wed, 26 Jul 2023 11:58:42 +0000 (14:58 +0300)
commitae463563b7a1b7d4a3d0b065b09d37a76b693937
treeefc58c1348b22c19f02380ab8e977944ec4eface
parent3bfb25fa2b5bb9c29681e6ac861808f4be1331a9
RDMA/irdma: Report correct WC error

Report the correct WC error if a MW bind is performed
on an already valid/bound window.

Fixes: 44d9e52977a1 ("RDMA/irdma: Implement device initialization definitions")
Signed-off-by: Sindhu Devale <sindhu.devale@intel.com>
Signed-off-by: Shiraz Saleem <shiraz.saleem@intel.com>
Link: https://lore.kernel.org/r/20230725155439.1057-2-shiraz.saleem@intel.com
Signed-off-by: Leon Romanovsky <leon@kernel.org>
drivers/infiniband/hw/irdma/hw.c