summaryrefslogtreecommitdiff
path: root/tools/lib/python
diff options
context:
space:
mode:
authorDamien Le Moal <dlemoal@kernel.org>2026-09-08 18:02:34 +0900
committerMartin K. Petersen (Oracle) <mkp@kernel.org>2026-09-16 10:42:45 -0400
commit319c440e4e4599a0d521479c883e09481946d26b (patch)
treecd1b48448e81ef85551101d617d3ce1ccd9ad694 /tools/lib/python
parentec5562d3ea803ec45831477129c626b2a22d2e2c (diff)
scsi: core: Use struct scsi_sense_hdr to log sense keys and codes
Instead of passing the sense key, additional sense code and additional sense code qualifier as separate parameters, change the functions scsi_extd_sense_format(), scsi_format_extd_sense(), and usb_stor_show_sense() to take a pointer to a struct scsi_sense_hdr to access the sense key and sense code with a single argument. 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-7-dlemoal@kernel.org Signed-off-by: Martin K. Petersen (Oracle) <mkp@kernel.org>
Diffstat (limited to 'tools/lib/python')
0 files changed, 0 insertions, 0 deletions