]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 27 Jan 2022 08:19:52 +0000 (09:19 +0100)
commit0cb05af4bf878971d8a44d572fe4afafa16b4004
treeb59295abd92c13ab1a2b7951a8c0c49837cd8804
parent59c7ff9509153d451fd78b7f4ecbd86cb34a0652
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: 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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/scsi/scsi_debugfs.c