Skip to content

Commit

Permalink
ide-disk: add missing printk() KERN_* levels
Browse files Browse the repository at this point in the history
Acked-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
  • Loading branch information
Bartlomiej Zolnierkiewicz committed Feb 26, 2008
1 parent dbecebc commit d12faa2
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions drivers/ide/ide-disk.c
Original file line number Diff line number Diff line change
Expand Up @@ -867,7 +867,7 @@ static void idedisk_setup (ide_drive_t *drive)

/* 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);
Expand Down Expand Up @@ -949,7 +949,8 @@ static void ide_device_shutdown(ide_drive_t *drive)
return;
}

printk("Shutdown: %s\n", drive->name);
printk(KERN_INFO "Shutdown: %s\n", drive->name);

drive->gendev.bus->suspend(&drive->gendev, PMSG_SUSPEND);
}

Expand Down

0 comments on commit d12faa2

Please sign in to comment.