diff options
| author | Thomas Fourier <fourier.thomas@gmail.com> | 2025-12-17 10:36:48 +0100 |
|---|---|---|
| committer | Jens Axboe <axboe@kernel.dk> | 2025-12-18 08:10:28 -0700 |
| commit | c9b5645fd8ca10f310e41b07540f98e6a9720f40 (patch) | |
| tree | 0830657905731cafd84925a2f532cb1444e1677d /drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.c | |
| parent | c258f5c4502c9667bccf5d76fa731ab9c96687c1 (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_atomfirmware.c')
0 files changed, 0 insertions, 0 deletions
