scsi: core: Show SCMD_LAST in text form
authorBart Van Assche <bvanassche@acm.org>
Mon, 29 Nov 2021 19:46:00 +0000 (11:46 -0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 30 Nov 2021 04:02:13 +0000 (23:02 -0500)
commit3369046e54ca8f82e0cb17740643da2d80d3cfa8
tree58b50fa9a894b1cb3c1acd19771d80a3921c754f
parent7cc5aad6c98e0b7e9ab744d1ac7e385e886bb869
scsi: core: Show SCMD_LAST in text form

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: 8930a6c20791 ("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>
drivers/scsi/scsi_debugfs.c