diff options
| author | Damien Le Moal <dlemoal@kernel.org> | 2026-09-08 18:02:48 +0900 |
|---|---|---|
| committer | Martin K. Petersen (Oracle) <mkp@kernel.org> | 2026-09-16 10:42:47 -0400 |
| commit | 9141a92896e24e90b1254261470ef63df7c12dd7 (patch) | |
| tree | e0c3f4587db215ce90715fb80135955b9b7ddcfd /tools/perf/scripts/python/stackcollapse.py | |
| parent | f2a39d466867e34c51dad4ef1a514b1c00d5ca19 (diff) | |
| download | linux-next-9141a92896e24e90b1254261470ef63df7c12dd7.tar.gz linux-next-9141a92896e24e90b1254261470ef63df7c12dd7.zip | |
scsi: leapraid: Use combined sense codes
Refactor the leapraid 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.
With this change, the locally defined macros for ASC and ASCQ values are
deleted.
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-21-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
