diff options
| author | Damien Le Moal <dlemoal@kernel.org> | 2026-09-08 18:02:50 +0900 |
|---|---|---|
| committer | Martin K. Petersen (Oracle) <mkp@kernel.org> | 2026-09-16 10:42:47 -0400 |
| commit | 6e9db936a1676c71dc9ab47560768b5e03429daf (patch) | |
| tree | d685e2553b2bedabade3cb183a708cfa847651e8 /tools/perf/scripts/python/task-analyzer.py | |
| parent | 0c4d570067fdb2db6238b48e03ace739797f94d0 (diff) | |
| download | linux-next-6e9db936a1676c71dc9ab47560768b5e03429daf.tar.gz linux-next-6e9db936a1676c71dc9ab47560768b5e03429daf.zip | |
scsi: myrb: myrs: Use combined sense codes
Refactor the Mylex RAID controller driver to use scsi_set_sense() and 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-23-dlemoal@kernel.org
Signed-off-by: Martin K. Petersen (Oracle) <mkp@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions
