aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/ObjectID.h
diff options
context:
space:
mode:
authorDamien Le Moal <[email protected]>2024-09-05 02:00:59 +0000
committerDamien Le Moal <[email protected]>2024-09-07 01:16:55 +0000
commita16951510fae8fa9b934673404c4fc990d124ccd (patch)
tree863e2ee6c3d188d71e16c79dc787c3c4dac3aed3 /drivers/gpu/drm/amd/amdgpu/ObjectID.h
parentata: libata: Cleanup libata-transport (diff)
downloadkernel-a16951510fae8fa9b934673404c4fc990d124ccd.tar.gz
kernel-a16951510fae8fa9b934673404c4fc990d124ccd.zip
ata: libata-scsi: Improve ata_scsi_handle_link_detach()
A struct ata_device flags should always be set and cleared with the device port locked. Testing for a flag should thus also be done while holding the device port lock. In accordance to this principle, modify ata_scsi_handle_link_detach() to test and clear the ATA_DFLAG_DETACHED flag while holding the device port lock. Signed-off-by: Damien Le Moal <[email protected]> Reviewed-by: Niklas Cassel <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/ObjectID.h')
0 files changed, 0 insertions, 0 deletions