diff options
| author | Damien Le Moal <dlemoal@kernel.org> | 2026-09-08 18:02:47 +0900 |
|---|---|---|
| committer | Martin K. Petersen (Oracle) <mkp@kernel.org> | 2026-09-16 10:42:47 -0400 |
| commit | f2a39d466867e34c51dad4ef1a514b1c00d5ca19 (patch) | |
| tree | 5409d9628fac6a97d377991a6d2534a2130eb55f /tools/perf/scripts/python/stackcollapse.py | |
| parent | c9852524e91bc53c3f22d0a75e011f96d7fdb669 (diff) | |
| download | linux-next-f2a39d466867e34c51dad4ef1a514b1c00d5ca19.tar.gz linux-next-f2a39d466867e34c51dad4ef1a514b1c00d5ca19.zip | |
scsi: 3w-xxxx: Use combined sense codes
Modify the function tw_scsi_queue_lck() of the 3w-xxxx driver to use
scsi_set_sense() and replace the 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-20-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
