summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorDamien Le Moal <dlemoal@kernel.org>2026-09-08 18:02:52 +0900
committerMartin K. Petersen (Oracle) <mkp@kernel.org>2026-09-16 10:42:47 -0400
commit374219068a9a69f94f56195969fe1d1a2a832bbf (patch)
tree5901b06547b489b2bdb475da8cc5aab251c37c1a /tools/perf/scripts/python
parentaa5d14a035c5cca63a910c7ff183fbb0da9bbce5 (diff)
downloadlinux-next-374219068a9a69f94f56195969fe1d1a2a832bbf.tar.gz
linux-next-374219068a9a69f94f56195969fe1d1a2a832bbf.zip
scsi: qla2xxx: Use combined sense codes
Refactor the qla2xxx 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. While at it, the declaration function qlt_send_resp_ctio(), which is modified to take a single 16-bit sense code argument, is changed to a static function declaration since that function is used only in the file where it is defined. 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-25-dlemoal@kernel.org Signed-off-by: Martin K. Petersen (Oracle) <mkp@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions