aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
diff options
context:
space:
mode:
authorDinghao Liu <[email protected]>2021-08-16 08:55:31 +0000
committerJason Gunthorpe <[email protected]>2021-08-19 17:48:09 +0000
commita036ad088306a88de87e973981f2b9224e466c3f (patch)
tree34187995c14fa6872c6ac86e149dac3f791b05b7 /drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
parentIB/hfi1: Fix possible null-pointer dereference in _extend_sdma_tx_descs() (diff)
downloadkernel-a036ad088306a88de87e973981f2b9224e466c3f.tar.gz
kernel-a036ad088306a88de87e973981f2b9224e466c3f.zip
RDMA/bnxt_re: Remove unpaired rtnl unlock in bnxt_re_dev_init()
The fixed commit removes all rtnl_lock() and rtnl_unlock() calls in function bnxt_re_dev_init(), but forgets to remove a rtnl_unlock() in the error handling path of bnxt_re_register_netdev(), which may cause a deadlock. This bug is suggested by a static analysis tool. Fixes: c2b777a95923 ("RDMA/bnxt_re: Refactor device add/remove functionalities") Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Dinghao Liu <[email protected]> Acked-by: Selvin Xavier <[email protected]> Reviewed-by: Jason Gunthorpe <[email protected]> Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c')
0 files changed, 0 insertions, 0 deletions