From 3a1d0783ac275048ddc39d1c663b7a8d1e59d338 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Miros=C5=82aw?= Date: Fri, 24 Nov 2017 18:02:35 +0100 Subject: [PATCH] scsi: sd: add missing KERN_CONT for disk spin-up MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit KERN_CONT is now required for continued printks(). Add it. Signed-off-by: Michał Mirosław Signed-off-by: Martin K. Petersen --- drivers/scsi/sd.c | 6 +++--- 1 file 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"); } } -- GitLab