aboutsummaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorLeon Romanovsky <[email protected]>2024-11-26 15:10:31 +0200
committerLeon Romanovsky <[email protected]>2024-12-04 08:55:09 -0500
commiteb867d797d294a00a092b5027d08439da68940b2 (patch)
treee4702a5fe141950ecf599e72a47d3d12dc078e5f /include/linux
parent40384c840ea1944d7c5a392e8975ed088ecf0b37 (diff)
RDMA/bnxt_re: Remove always true dattr validity check
res->dattr is always valid at this point as it was initialized during device addition in bnxt_re_add_device(). This change is fixing the following smatch error: drivers/infiniband/hw/bnxt_re/qplib_fp.c:1090 bnxt_qplib_create_qp() error: we previously assumed 'res->dattr' could be null (see line 985) Fixes: 07f830ae4913 ("RDMA/bnxt_re: Adds MSN table capability for Gen P7 adapters") Reported-by: kernel test robot <[email protected]> Reported-by: Dan Carpenter <[email protected]> Closes: https://lore.kernel.org/r/[email protected]/ Link: https://patch.msgid.link/be0d8836b64cba3e479fbcbca717acad04aae02e.1732626579.git.leonro@nvidia.com Acked-by: Selvin Xavier <[email protected]> Signed-off-by: Leon Romanovsky <[email protected]>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions