summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/sd.c
diff options
context:
space:
mode:
authorMichał Mirosław <mirq-linux@rere.qmqm.pl>2017-11-24 18:02:35 +0100
committerMartin K. Petersen <martin.petersen@oracle.com>2017-12-05 04:56:02 +0100
commit3a1d0783ac275048ddc39d1c663b7a8d1e59d338 (patch)
treeaec37333ad7937780e593b3ee70619ec37a86d57 /drivers/scsi/sd.c
parentscsi: ufs: add some definitions included in UFS HCI specification (diff)
downloadlinux-3a1d0783ac275048ddc39d1c663b7a8d1e59d338.tar.xz
linux-3a1d0783ac275048ddc39d1c663b7a8d1e59d338.zip
scsi: sd: add missing KERN_CONT for disk spin-up
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>
Diffstat (limited to '')
-rw-r--r--drivers/scsi/sd.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/scsi/sd.c b/drivers/scsi/sd.c
index 24fe68522716..ab75ebd518a7 100644
--- a/drivers/scsi/sd.c
+++ b/drivers/scsi/sd.c
@@ -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");
}
}