projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cffe3ff
)
scsi: sd: add missing KERN_CONT for disk spin-up
author
Michał Mirosław
<
[email protected]
>
Fri, 24 Nov 2017 17:02:35 +0000
(18:02 +0100)
committer
Martin K. Petersen
<
[email protected]
>
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 <
[email protected]
>
Signed-off-by: Martin K. Petersen <
[email protected]
>
drivers/scsi/sd.c
patch
|
blob
|
history
diff --git
a/drivers/scsi/sd.c
b/drivers/scsi/sd.c
index 24fe685227169d1be705e9ddc1d8861cb962d2bf..ab75ebd518a7dc6a9928ba2270b12f3d3169a686 100644
(file)
--- 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");
}
}