summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c
diff options
context:
space:
mode:
authorThomas Fourier <fourier.thomas@gmail.com>2025-12-17 10:36:48 +0100
committerJens Axboe <axboe@kernel.dk>2025-12-18 08:10:28 -0700
commitc9b5645fd8ca10f310e41b07540f98e6a9720f40 (patch)
tree0830657905731cafd84925a2f532cb1444e1677d /drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c
parentc258f5c4502c9667bccf5d76fa731ab9c96687c1 (diff)
block: rnbd-clt: Fix leaked ID in init_dev()
If kstrdup() fails in init_dev(), then the newly allocated ID is lost. Fixes: 64e8a6ece1a5 ("block/rnbd-clt: Dynamically alloc buffer for pathname & blk_symlink_name") Signed-off-by: Thomas Fourier <fourier.thomas@gmail.com> Acked-by: Jack Wang <jinpu.wang@ionos.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c')
0 files changed, 0 insertions, 0 deletions