diff options
| author | Damien Le Moal <dlemoal@kernel.org> | 2026-09-08 18:02:57 +0900 |
|---|---|---|
| committer | Martin K. Petersen (Oracle) <mkp@kernel.org> | 2026-09-16 10:42:47 -0400 |
| commit | 077aa184ebb4dc3cc52c2dcb1b5ab3e5d4c8d4cc (patch) | |
| tree | 213c46599e184b0e906a5614540a759b8b7da810 /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | d6dba463d867120abad1ff6923e0c1c6cf3e896a (diff) | |
| download | linux-next-077aa184ebb4dc3cc52c2dcb1b5ab3e5d4c8d4cc.tar.gz linux-next-077aa184ebb4dc3cc52c2dcb1b5ab3e5d4c8d4cc.zip | |
scsi: libiscsi: Use combined sense codes
Refactor libiscsi 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-30-dlemoal@kernel.org
Signed-off-by: Martin K. Petersen (Oracle) <mkp@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions
