summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorDamien Le Moal <dlemoal@kernel.org>2026-09-08 18:03:05 +0900
committerMartin K. Petersen (Oracle) <mkp@kernel.org>2026-09-16 10:42:48 -0400
commitc44f095a9d1768d9be6cf0c1b12e95619d6af9b4 (patch)
tree6f20fa51c4b85bd7dbb1921fdf8cc8fd62b1ef0f /tools/perf/scripts/python
parent4152825a15d5f5d7a810e19a1e77a8561525b020 (diff)
downloadlinux-next-c44f095a9d1768d9be6cf0c1b12e95619d6af9b4.tar.gz
linux-next-c44f095a9d1768d9be6cf0c1b12e95619d6af9b4.zip
scsi: ata: libata: Use combined sense codes
Refactor libata core code to use the 16-bit sense_code field of struct scsi_sense_hdr and replace all hard-coded additional sense codes and additional sense code qualifiers with the enum values defined in include/scsi/scsi_sense.h. This helps with code clarity as the sense codes being processed are easier to test and self-documented. No functional change intended. Signed-off-by: Damien Le Moal <dlemoal@kernel.org> Acked-by: Niklas Cassel <cassel@kernel.org> Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com> Reviewed-by: Hannes Reinecke <hare@kernel.org> Link: https://patch.msgid.link/20260908090308.1085097-38-dlemoal@kernel.org Signed-off-by: Martin K. Petersen (Oracle) <mkp@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions