diff options
| author | Dinghao Liu <[email protected]> | 2023-09-21 07:14:12 +0000 |
|---|---|---|
| committer | Vasily Gorbik <[email protected]> | 2023-10-16 11:03:05 +0000 |
| commit | 63e8b94ad1840f02462633abdb363397f56bc642 (patch) | |
| tree | 7408e21b5dfbf994772896e4d3802d95497999c0 /drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c | |
| parent | s390/cert_store: fix string length handling (diff) | |
| download | kernel-63e8b94ad1840f02462633abdb363397f56bc642.tar.gz kernel-63e8b94ad1840f02462633abdb363397f56bc642.zip | |
s390/cio: fix a memleak in css_alloc_subchannel
When dma_set_coherent_mask() fails, sch->lock has not been
freed, which is allocated in css_sch_create_locks(), leading
to a memleak.
Fixes: 4520a91a976e ("s390/cio: use dma helpers for setting masks")
Signed-off-by: Dinghao Liu <[email protected]>
Message-Id: <[email protected]>
Link: https://lore.kernel.org/linux-s390/[email protected]/
Reviewed-by: Halil Pasic <[email protected]>
Reviewed-by: Peter Oberparleiter <[email protected]>
Signed-off-by: Vasily Gorbik <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c')
0 files changed, 0 insertions, 0 deletions
