diff options
| author | Damien Le Moal <dlemoal@kernel.org> | 2026-09-08 18:02:55 +0900 |
|---|---|---|
| committer | Martin K. Petersen (Oracle) <mkp@kernel.org> | 2026-09-16 10:42:47 -0400 |
| commit | f1ba68cc9baf6619b7fbcbc13e35a0ce1a4ac6ee (patch) | |
| tree | 4f048e02422472a43ac3871412c465be8e79a29c /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | 6af632bcf0ac525b1237b2e5053f7bb2d41d939d (diff) | |
| download | linux-next-f1ba68cc9baf6619b7fbcbc13e35a0ce1a4ac6ee.tar.gz linux-next-f1ba68cc9baf6619b7fbcbc13e35a0ce1a4ac6ee.zip | |
scsi: stex: Use combined sense codes
Refactor the stex driver to use scsi_set_sense() 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-28-dlemoal@kernel.org
Signed-off-by: Martin K. Petersen (Oracle) <mkp@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions
