diff options
| author | Damien Le Moal <dlemoal@kernel.org> | 2026-09-08 18:03:04 +0900 |
|---|---|---|
| committer | Martin K. Petersen (Oracle) <mkp@kernel.org> | 2026-09-16 10:42:48 -0400 |
| commit | 4152825a15d5f5d7a810e19a1e77a8561525b020 (patch) | |
| tree | 1ac85cd073a7bcae1a8aca74204f4b67fcd6f5c8 /tools/perf/scripts/python/flamegraph.py | |
| parent | 134875ed31d4d866dbe3cd1a3461e76f08d030b4 (diff) | |
| download | linux-next-4152825a15d5f5d7a810e19a1e77a8561525b020.tar.gz linux-next-4152825a15d5f5d7a810e19a1e77a8561525b020.zip | |
scsi: cdrom: Use combined sense codes
Refactor the cdrom driver to use 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-37-dlemoal@kernel.org
Signed-off-by: Martin K. Petersen (Oracle) <mkp@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions
