Commit f1effee1 authored by Rusty Russell's avatar Rusty Russell Committed by Linus Torvalds

[PATCH] printk() cleanup in ide-pnp.c

Andrey Panin <pazke@orbita1.ru>: printk() cleanup in ide-pnp.c:
  Attached patch adds a few missing printk levels in ide-pnp.c file.
parent c2951331
...@@ -75,7 +75,7 @@ static int __init pnpide_generic_init(struct pci_dev *dev, int enable) ...@@ -75,7 +75,7 @@ static int __init pnpide_generic_init(struct pci_dev *dev, int enable)
if (index != -1) { if (index != -1) {
hwif->pci_dev = dev; hwif->pci_dev = dev;
printk("ide%d: %s IDE interface\n", index, DEV_NAME(dev)); printk(KERN_INFO "ide%d: %s IDE interface\n", index, DEV_NAME(dev));
return 0; return 0;
} }
...@@ -133,12 +133,12 @@ void __init pnpide_init(int enable) ...@@ -133,12 +133,12 @@ void __init pnpide_init(int enable)
continue; continue;
if (PREPARE_FUNC(dev) && (PREPARE_FUNC(dev))(dev) < 0) { if (PREPARE_FUNC(dev) && (PREPARE_FUNC(dev))(dev) < 0) {
printk("ide: %s prepare failed\n", DEV_NAME(dev)); printk(KERN_ERR "ide: %s prepare failed\n", DEV_NAME(dev));
continue; continue;
} }
if (ACTIVATE_FUNC(dev) && (ACTIVATE_FUNC(dev))(dev) < 0) { if (ACTIVATE_FUNC(dev) && (ACTIVATE_FUNC(dev))(dev) < 0) {
printk("ide: %s activate failed\n", DEV_NAME(dev)); printk(KERN_ERR "ide: %s activate failed\n", DEV_NAME(dev));
continue; continue;
} }
......
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