aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c
diff options
context:
space:
mode:
authorDamien Le Moal <dlemoal@kernel.org>2024-10-22 11:45:33 +0900
committerNiklas Cassel <cassel@kernel.org>2024-10-25 10:09:49 +0200
commit44bdde151a6f5b34993c570a8f6508e2e00b56e1 (patch)
tree70a6f99f2bba23c1ebcefafc9a2aa6a77ee58edd /drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c
parentb055e3be63bebc3c50d0fb1830de9bf4f2be388d (diff)
downloadlinux-44bdde151a6f5b34993c570a8f6508e2e00b56e1.tar.gz
linux-44bdde151a6f5b34993c570a8f6508e2e00b56e1.tar.bz2
linux-44bdde151a6f5b34993c570a8f6508e2e00b56e1.zip
ata: libata-scsi: Refactor ata_scsiop_read_cap()
Move the check for the scsi command service action being SAI_READ_CAPACITY_16 from ata_scsi_simulate() into ata_scsiop_read_cap() to simplify ata_scsi_simulate() for processing capacity reading commands (READ_CAPACITY and SERVICE_ACTION_IN_16). Signed-off-by: Damien Le Moal <dlemoal@kernel.org> Link: https://lore.kernel.org/r/20241022024537.251905-3-dlemoal@kernel.org Signed-off-by: Niklas Cassel <cassel@kernel.org>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c')
0 files changed, 0 insertions, 0 deletions