ide-disk: add missing printk() KERN_* levels

Acked-by: default avatarSergei Shtylyov <sshtylyov@ru.mvista.com>
Signed-off-by: default avatarBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
parent dbecebca
...@@ -867,7 +867,7 @@ static void idedisk_setup (ide_drive_t *drive) ...@@ -867,7 +867,7 @@ static void idedisk_setup (ide_drive_t *drive)
/* Only print cache size when it was specified */ /* Only print cache size when it was specified */
if (id->buf_size) 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", printk(KERN_CONT ", CHS=%d/%d/%d\n",
drive->bios_cyl, drive->bios_head, drive->bios_sect); drive->bios_cyl, drive->bios_head, drive->bios_sect);
...@@ -949,7 +949,8 @@ static void ide_device_shutdown(ide_drive_t *drive) ...@@ -949,7 +949,8 @@ static void ide_device_shutdown(ide_drive_t *drive)
return; return;
} }
printk("Shutdown: %s\n", drive->name); printk(KERN_INFO "Shutdown: %s\n", drive->name);
drive->gendev.bus->suspend(&drive->gendev, PMSG_SUSPEND); drive->gendev.bus->suspend(&drive->gendev, PMSG_SUSPEND);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment