summaryrefslogtreecommitdiff
path: root/tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux-stable.git
diff options
context:
space:
mode:
authorDamien Le Moal <dlemoal@kernel.org>2026-03-20 12:48:01 +0900
committerNiklas Cassel <cassel@kernel.org>2026-03-20 09:59:30 +0100
commite6d7eba23b666d85cacee0643be280d6ce1ebffc (patch)
tree02efc92181cef7de151d8ab8c1fb9eec419854fe /tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux-stable.git
parentce5ae93d1a216680460040c7c0465a6e3b629dec (diff)
ata: libata-scsi: report correct sense field pointer in ata_scsiop_maint_in()
Commit 4ab7bb976343 ("ata: libata-scsi: Refactor ata_scsiop_maint_in()") modified ata_scsiop_maint_in() to directly call ata_scsi_set_invalid_field() to set the field pointer of the sense data of a failed MAINTENANCE IN command. However, in the case of an invalid command format, the sense data field incorrectly indicates byte 1 of the CDB. Fix this to indicate byte 2 of the command. Reported-by: Guenter Roeck <linux@roeck-us.net> Fixes: 4ab7bb976343 ("ata: libata-scsi: Refactor ata_scsiop_maint_in()") Cc: stable@vger.kernel.org Signed-off-by: Damien Le Moal <dlemoal@kernel.org> Signed-off-by: Niklas Cassel <cassel@kernel.org>
Diffstat (limited to 'tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux-stable.git')
0 files changed, 0 insertions, 0 deletions