scsi: core: Show SCMD_LAST in text form
commit 3369046e54ca8f82e0cb17740643da2d80d3cfa8 upstream.
The SCSI debugfs code supports showing information about pending commands,
including translating SCSI command flags from numeric into text format.
Also convert the SCMD_LAST flag from numeric into text form.
Link: https://lore.kernel.org/r/20211129194609.3466071-4-bvanassche@acm.org
Fixes: 8930a6c207
("scsi: core: add support for request batching")
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
59c7ff9509
commit
0cb05af4bf
@ -10,6 +10,7 @@ static const char *const scsi_cmd_flags[] = {
|
|||||||
SCSI_CMD_FLAG_NAME(TAGGED),
|
SCSI_CMD_FLAG_NAME(TAGGED),
|
||||||
SCSI_CMD_FLAG_NAME(UNCHECKED_ISA_DMA),
|
SCSI_CMD_FLAG_NAME(UNCHECKED_ISA_DMA),
|
||||||
SCSI_CMD_FLAG_NAME(INITIALIZED),
|
SCSI_CMD_FLAG_NAME(INITIALIZED),
|
||||||
|
SCSI_CMD_FLAG_NAME(LAST),
|
||||||
};
|
};
|
||||||
#undef SCSI_CMD_FLAG_NAME
|
#undef SCSI_CMD_FLAG_NAME
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user