scsi: scsi_debug: Missing "\n" in sdev_printk() in scsi_debug_device_reset()
PATCH 1/1 scsi: scsi_debug: Missing "\n" in sdev_printk() in scsi_debug_device_reset()
A "\n" at the end of the sdev_printk() string appears to have been inadvertently removed. Add it back for correct log message formatting.
--- drivers/scsi/scsi_debug.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/scsi/scsi_debug.c +1 -1
@@ -6953,7 +6953,7 @@ static int scsi_debug_device_reset(struct scsi_cmnd *SCpnt) ++num_dev_resets;if (SDEBUG_OPT_ALL_NOISE & sdebug_opts) -sdev_printk (KERN_INFO , sdp,"doing device reset" ); +sdev_printk (KERN_INFO , sdp,"doing device reset\n" );scsi_debug_stop_all_queued (sdp);if (devip) {
Signature · 1 line
2.52.0
Quoted 2 lines · Ewan D. Milne
A "\n" at the end of the
sdev_printk()string appears to have been inadvertently removed. Add it back for correct log message formatting.
Quoted 6 lines · Ewan D. Milne
A "\n" at the end of the
sdev_printk()string appears to have been inadvertently removed. Add it back for correct log message formatting.Fixes a743b120227a ("scsi: scsi_debug: Stop printing extra function name in debug logs")Assisted-by Claude:claude-opus-4-6Signed-off-by Ewan D. Milne<[email protected]>
Martin K. Petersen
AppliedQuoted 4 lines · Ewan D. Milne
A "\n" at the end of the
sdev_printk()string appears to have been inadvertently removed. Add it back for correct log message formatting.
Applied to 7.1/scsi-fixes, thanks!
[1/1] scsi: scsi_debug: Missing "\n" in sdev_printk() in scsi_debug_device_reset()
https://git.kernel.org/mkp/scsi/c/e4bb73bf3ac1
Signature · 1 line
Martin K. Petersen