aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
diff options
context:
space:
mode:
authorDan Carpenter <[email protected]>2024-09-14 09:58:26 +0000
committerJakub Kicinski <[email protected]>2024-09-15 15:38:56 +0000
commitbe461814aa4cb32aae061404b9a6a83ef3895018 (patch)
treefbf56f18548ad55d768746fc60ca33e6681b00cd /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
parentice: Fix a NULL vs IS_ERR() check in probe() (diff)
downloadkernel-be461814aa4cb32aae061404b9a6a83ef3895018.tar.gz
kernel-be461814aa4cb32aae061404b9a6a83ef3895018.zip
net/mlx5: HWS, check the correct variable in hws_send_ring_alloc_sq()
There is a copy and paste bug so this code checks "sq->dep_wqe" where "sq->wr_priv" was intended. It could result in a NULL pointer dereference. Fixes: 2ca62599aa0b ("net/mlx5: HWS, added send engine and context handling") Signed-off-by: Dan Carpenter <[email protected]> Reviewed-by: Simon Horman <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions