diff options
| author | Damien Le Moal <dlemoal@kernel.org> | 2026-09-08 18:02:41 +0900 |
|---|---|---|
| committer | Martin K. Petersen (Oracle) <mkp@kernel.org> | 2026-09-16 10:42:46 -0400 |
| commit | 700ab5e27925f883888501e9e2630ad8b8da49f7 (patch) | |
| tree | 4a44fecb46cbb48a9b78df7b307c3acdcdc80a1d /tools/perf/scripts/python/stackcollapse.py | |
| parent | 9a21d5e12153f13b95213e0bf0c65b4a381b0ca9 (diff) | |
| download | linux-next-700ab5e27925f883888501e9e2630ad8b8da49f7.tar.gz linux-next-700ab5e27925f883888501e9e2630ad8b8da49f7.zip | |
scsi: device_handlers: hp_sw: Use combined sense codes
Refactor the HP sw device handler driver to use the 16-bit sense_code field
of struct scsi_sense_hdr and struct scsi_failure 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>
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Reviewed-by: Hannes Reinecke <hare@kernel.org>
Link: https://patch.msgid.link/20260908090308.1085097-14-dlemoal@kernel.org
Signed-off-by: Martin K. Petersen (Oracle) <mkp@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
