aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
diff options
context:
space:
mode:
authorHarshit Mogalapalli <harshit.m.mogalapalli@oracle.com>2024-12-16 21:23:24 -0800
committerJakub Kicinski <kuba@kernel.org>2024-12-18 19:23:50 -0800
commit51df947678360faf1967fe0bd1a40c681f634104 (patch)
treed5f783381d7fee31064fe0f290a768eff32acb84 /drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
parent5eecd85c77a254a43bde3212da8047b001745c9f (diff)
downloadlinux-51df947678360faf1967fe0bd1a40c681f634104.tar.gz
linux-51df947678360faf1967fe0bd1a40c681f634104.tar.bz2
linux-51df947678360faf1967fe0bd1a40c681f634104.zip
octeontx2-pf: fix netdev memory leak in rvu_rep_create()
When rvu_rep_devlink_port_register() fails, free_netdev(ndev) for this incomplete iteration before going to "exit:" label. Fixes: 9ed0343f561e ("octeontx2-pf: Add devlink port support") Reviewed-by: Przemek Kitszel <przemyslaw.kitszel@intel.com> Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com> Link: https://patch.msgid.link/20241217052326.1086191-1-harshit.m.mogalapalli@oracle.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_device.c')
0 files changed, 0 insertions, 0 deletions