linux/drivers/infiniband/sw
Natalia Petrova b73a0b80c6 RDMA/rdmavt: Delete unnecessary NULL check
There is no need to check 'rdi->qp_dev' for NULL. The field 'qp_dev'
is created in rvt_register_device() which will fail if the 'qp_dev'
allocation fails in rvt_driver_qp_init(). Overwise this pointer
doesn't changed and passed to rvt_qp_exit() by the next step.

Found by Linux Verification Center (linuxtesting.org) with SVACE.

Fixes: 0acb0cc7ec ("IB/rdmavt: Initialize and teardown of qpn table")
Signed-off-by: Natalia Petrova <n.petrova@fintech.ru>
Link: https://lore.kernel.org/r/20230303124408.16685-1-n.petrova@fintech.ru
Signed-off-by: Leon Romanovsky <leon@kernel.org>
2023-03-14 11:57:01 +02:00
..
rdmavt RDMA/rdmavt: Delete unnecessary NULL check 2023-03-14 11:57:01 +02:00
rxe v6.3 RDMA pull request 2023-02-24 15:11:03 -08:00
siw RDMA/siw: Fix potential page_array out of range access 2023-03-13 13:54:49 +02:00
Makefile rdma/siw: addition to kernel build environment 2019-07-02 17:03:41 -03:00