diff options
| author | Damien Le Moal <dlemoal@kernel.org> | 2026-09-08 18:02:30 +0900 |
|---|---|---|
| committer | Martin K. Petersen (Oracle) <mkp@kernel.org> | 2026-09-16 10:42:45 -0400 |
| commit | 84517868c12dd4e06c1a08793f5687ec43961dd4 (patch) | |
| tree | 93c952ee35c423ee3dc2407dc14050a9c407755e /include/linux/timerqueue.h | |
| parent | 72c54bd0cbb2e0c35f4acd056e91c596469edc5f (diff) | |
scsi: core: constants: Use defined sense codes
The SENSE_CODE() macro is used for defining the array of struct error_info
which associates a string description to an additional sense code and its
combinations with additional sense code qualifiers. These are however
hardcoded values.
Now that all 16-bit sense codes are defined as macros in
include/scsi/scsi_sense.h, modify sense_codes.h to use the defined sense
code macros. While doing this, 2 missing entries are added for the codes
OVERLAPPING_ATOMIC_COMMAND_IN_PROGRESS and
DEPOPULATION_RESTORATION_INTERRUPTED.
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-3-dlemoal@kernel.org
Signed-off-by: Martin K. Petersen (Oracle) <mkp@kernel.org>
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions
