aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_encoders.c
diff options
context:
space:
mode:
authorNiklas Cassel <[email protected]>2024-06-29 14:42:12 +0200
committerNiklas Cassel <[email protected]>2024-06-30 22:23:21 +0200
commitf6549f538fe0b2c389e1a7037f4e21039e25137a (patch)
tree00fa3e84ade238c1e4f871954cfe1c2a68afbc00 /drivers/gpu/drm/amd/amdgpu/amdgpu_encoders.c
parent5d92c7c566dc76d96e0e19e481d926bbe6631c1e (diff)
ata,scsi: libata-core: Do not leak memory for ata_port struct members
libsas is currently not freeing all the struct ata_port struct members, e.g. ncq_sense_buf for a driver supporting Command Duration Limits (CDL). Add a function, ata_port_free(), that is used to free a ata_port, including its struct members. It makes sense to keep the code related to freeing a ata_port in its own function, which will also free all the struct members of struct ata_port. Fixes: 18bd7718b5c4 ("scsi: ata: libata: Handle completion of CDL commands using policy 0xD") Reviewed-by: John Garry <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Niklas Cassel <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_encoders.c')
0 files changed, 0 insertions, 0 deletions