Message ID | 2a37c111d0ffed64653921fc405c7a17be64a41a.1511542918.git.mirq-linux@rere.qmqm.pl (mailing list archive) |
---|---|
State | Accepted |
Headers | show |
Michał,
> KERN_CONT is now required for continued printks(). Add it.
Applied to 4.16/scsi-queue. Thank you!
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"); } }
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(-)