diff options
| author | Damien Le Moal <dlemoal@kernel.org> | 2026-09-08 18:02:51 +0900 |
|---|---|---|
| committer | Martin K. Petersen (Oracle) <mkp@kernel.org> | 2026-09-16 10:42:47 -0400 |
| commit | aa5d14a035c5cca63a910c7ff183fbb0da9bbce5 (patch) | |
| tree | 9a961ccfb9456a71548052b3dd887ee052098662 /tools/perf/scripts/python | |
| parent | 6e9db936a1676c71dc9ab47560768b5e03429daf (diff) | |
| download | linux-next-aa5d14a035c5cca63a910c7ff183fbb0da9bbce5.tar.gz linux-next-aa5d14a035c5cca63a910c7ff183fbb0da9bbce5.zip | |
scsi: smartpqi: Use combined sense codes
Refactor the smartpqi driver 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: Don Brace <don.brace@microchip.com>
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Reviewed-by: Hannes Reinecke <hare@kernel.org>
Link: https://patch.msgid.link/20260908090308.1085097-24-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
