mirror of https://gitee.com/openkylin/linux.git
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>
This commit is contained in:
parent
cffe3ff346
commit
3a1d0783ac
|
@ -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");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue