]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
scsi: scsi_debug: Add missing newline in scsi_debug_device_reset()
authorEwan D. Milne <emilne@redhat.com>
Tue, 19 May 2026 20:53:56 +0000 (16:53 -0400)
committerMartin K. Petersen <martin.petersen@oracle.com>
Sat, 23 May 2026 01:29:35 +0000 (21:29 -0400)
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-6
Signed-off-by: Ewan D. Milne <emilne@redhat.com>
Reviewed-by: Bart Van Assche <bvanassche@acm.org>
Reviewed-by: John Garry <john.g.garry@oracle.com>
Link: https://patch.msgid.link/20260519205356.1040855-1-emilne@redhat.com
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/scsi_debug.c

index 1515495fd9ea7e8a66a77c935ac3d5280bf583a5..040c5e1e713a2e56bd26f7037d685900abd592d0 100644 (file)
@@ -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) {