aboutsummaryrefslogtreecommitdiff
path: root/scripts/generate_rust_analyzer.py
diff options
context:
space:
mode:
authorBart Van Assche <[email protected]>2024-03-25 15:47:54 -0700
committerMartin K. Petersen <[email protected]>2024-04-08 22:12:33 -0400
commitba0f09b0dbd81f04d8621377c72a93ab1bd34ada (patch)
tree7982afd0ef8d5c86bb40e2c2c4ac9c3d50335785 /scripts/generate_rust_analyzer.py
parent9972c02a806772f61ff0da7c3740be4ef0600553 (diff)
scsi: core: Improve the code for showing commands in debugfs
Some but not all command information is cleared by scsi_end_request(). As an example, if scsi_show_rq() is called after a SCSI command has been allocated and before SCMD_INITIALIZED is set, .cmnd holds the CDB of a previous command. Showing that information in debugfs is confusing. Hence this patch that restricts the information shown in debugfs to valid information. Signed-off-by: Bart Van Assche <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions