On 2026-10-02T07:31:50, Aristo Chen <[email protected]> wrote:
> scsi: drop the duplicate COMPARE and SEND DIAGNOSTIC opcodes
>
> SCSI_COMPARE and SCSI_SEND_DIAG are defined in the table of commands
> for all device types and again in the table of commands unique to
> direct access devices. SCSI-2 (table 31) lists both as commands for all
> device types, so drop the copies from the second table.
>
> The two SCSI_SEND_DIAG copies also disagreed on the command type: the
> first said optional, the second mandatory. SCSI-2 names SEND DIAGNOSTIC
> as one of the four commands every target implements, together with
> INQUIRY, REQUEST SENSE and TEST UNIT READY, so the remaining comment now
> says mandatory, as the other three do.
>
> No functional change.
>
> Signed-off-by: Aristo Chen <[email protected]>
>
> include/scsi.h | 4 +---
>  1 file changed, 1 insertion(+), 3 deletions(-)

Reviewed-by: Simon Glass <[email protected]>

Reply via email to