Thread (83 messages) 83 messages, 4 authors, 15d ago

Re: [PATCH v6 02/40] scsi: constants: use defined sense codes

From: sashiko-bot@kernel.org
Date: 2026-09-08 09:12:58
Also in: linux-s390, linux-scsi

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-bits 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>
Sashiko has reviewed this patch and found no issues. It looks great!

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20260908090308.1085097-1-dlemoal@kernel.org?part=2
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help