ide-disk: add missing printk() KERN_* levels
PATCH 2/4 ide-disk: add missing printk() KERN_* levels
Signed-off-by Bartlomiej Zolnierkiewicz <[email protected]>
--- drivers/ide/ide-disk.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)
drivers/ide/ide-disk.c +3 -2
@@ -867,7 +867,7 @@ static void idedisk_setup (ide_drive_t */* Only print cache size when it was specified */ if (id->buf_size) -printk (" w/%dKiB Cache" , id->buf_size/2 ); +printk (KERN_CONT " w/%dKiB Cache" , id->buf_size /2 );printk (KERN_CONT ", CHS=%d/%d/%d\n" , drive->bios_cyl, drive->bios_head, drive->bios_sect);
@@ -949,7 +949,8 @@ static void ide_device_shutdown(ide_drivreturn ; } -printk ("Shutdown: %s\n" , drive->name); +printk (KERN_INFO "Shutdown: %s\n" , drive->name); + drive->gendev.bus->suspend (&drive->gendev,PMSG_SUSPEND ); }
Quoted 1 line · Bartlomiej Zolnierkiewicz
Signed-off-by Bartlomiej Zolnierkiewicz <[email protected]>
Acked-by Sergei Shtylyov <[email protected]>
MBR, Sergei