diff options
| author | Damien Le Moal <dlemoal@kernel.org> | 2026-09-08 18:02:44 +0900 |
|---|---|---|
| committer | Martin K. Petersen (Oracle) <mkp@kernel.org> | 2026-09-16 10:42:46 -0400 |
| commit | 8c88a8614870903ea2a454cac0851a3198bc93ce (patch) | |
| tree | 3bd11a2fb5a3431e9ce6b058acf91775f7d0436f /tools/perf/scripts/python/stackcollapse.py | |
| parent | 9f543ed64b1ea0f02af797cc1a88137651aa41fe (diff) | |
| download | linux-next-8c88a8614870903ea2a454cac0851a3198bc93ce.tar.gz linux-next-8c88a8614870903ea2a454cac0851a3198bc93ce.zip | |
scsi: device_handlers: alua: Use combined sense codes
Refactor the SCSI ALUA devie handler 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>
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Reviewed-by: Hannes Reinecke <hare@kernel.org>
Link: https://patch.msgid.link/20260908090308.1085097-17-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
