All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] scsi: sd: add missing KERN_CONT for disk spin-up
@ 2017-11-24 17:02 Michał Mirosław
  2017-12-05  3:28 ` Martin K. Petersen
  0 siblings, 1 reply; 2+ messages in thread
From: Michał Mirosław @ 2017-11-24 17:02 UTC (permalink / raw)
  To: linux-scsi; +Cc: James E.J. Bottomley, Martin K. Petersen

KERN_CONT is now required for continued printks(). Add it.

Signed-off-by: Michał Mirosław <mirq-linux@rere.qmqm.pl>
---
 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 d175c5c5ccf8..9743b5f0800d 100644
--- a/drivers/scsi/sd.c
+++ b/drivers/scsi/sd.c
@@ -2142,7 +2142,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.
@@ -2172,9 +2172,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");
 	}
 }
 
-- 
2.11.0

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] scsi: sd: add missing KERN_CONT for disk spin-up
  2017-11-24 17:02 [PATCH] scsi: sd: add missing KERN_CONT for disk spin-up Michał Mirosław
@ 2017-12-05  3:28 ` Martin K. Petersen
  0 siblings, 0 replies; 2+ messages in thread
From: Martin K. Petersen @ 2017-12-05  3:28 UTC (permalink / raw)
  To: Michał Mirosław
  Cc: linux-scsi, James E.J. Bottomley, Martin K. Petersen


Michał,

> KERN_CONT is now required for continued printks(). Add it.

Applied to 4.16/scsi-queue. Thank you!

-- 
Martin K. Petersen	Oracle Linux Engineering

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-12-05  3:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-11-24 17:02 [PATCH] scsi: sd: add missing KERN_CONT for disk spin-up Michał Mirosław
2017-12-05  3:28 ` Martin K. Petersen

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.