]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commitdiff
scsi: sd: add missing KERN_CONT for disk spin-up
authorMichał Mirosław <mirq-linux@rere.qmqm.pl>
Fri, 24 Nov 2017 17:02:35 +0000 (18:02 +0100)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 5 Dec 2017 03:56:02 +0000 (22:56 -0500)
KERN_CONT is now required for continued printks(). Add it.

Signed-off-by: Michał Mirosław <mirq-linux@rere.qmqm.pl>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/sd.c

index 24fe685227169d1be705e9ddc1d8861cb962d2bf..ab75ebd518a7dc6a9928ba2270b12f3d3169a686 100644 (file)
@@ -2170,7 +2170,7 @@ sd_spinup_disk(struct scsi_disk *sdkp)
                        }
                        /* Wait 1 second for next try */
                        msleep(1000);
-                       printk(".");
+                       printk(KERN_CONT ".");
 
                /*
                 * Wait for USB flash devices with slow firmware.
@@ -2200,9 +2200,9 @@ sd_spinup_disk(struct scsi_disk *sdkp)
 
        if (spintime) {
                if (scsi_status_is_good(the_result))
-                       printk("ready\n");
+                       printk(KERN_CONT "ready\n");
                else
-                       printk("not responding...\n");
+                       printk(KERN_CONT "not responding...\n");
        }
 }