Gutsy [PATCH 001/001] Downgrade some resource complaints from KERN_ERR to KERN_INFO.
Tim Gardner
"rtg at timg" at tpi.com
Mon Apr 23 18:54:35 UTC 2007
Signed-off-by: Tim Gardner <tim.gardner at ubuntu.com>
Downgrade some resource complaints from KERN_ERR to KERN_INFO.
modified: arch/i386/pci/i386.c
modified: drivers/ide/ide-probe.c
modified: drivers/ide/ide.c
modified: drivers/input/serio/i8042.c
---
arch/i386/pci/i386.c | 4 ++--
drivers/ide/ide-probe.c | 2 +-
drivers/ide/ide.c | 2 +-
drivers/input/serio/i8042.c | 3 +--
4 files changed, 5 insertions(+), 6 deletions(-)
diff --git a/arch/i386/pci/i386.c b/arch/i386/pci/i386.c
index 43005f0..1c553c8 100644
--- a/arch/i386/pci/i386.c
+++ b/arch/i386/pci/i386.c
@@ -112,7 +112,7 @@ static void __init pcibios_allocate_bus_resources(struct list_head *bus_list)
pr = pci_find_parent_resource(dev, r);
if (!r->start || !pr ||
request_resource(pr, r) < 0) {
- printk(KERN_ERR "PCI: Cannot allocate "
+ printk(KERN_INFO "PCI: Cannot allocate "
"resource region %d "
"of bridge %s\n",
idx, pci_name(dev));
@@ -155,7 +155,7 @@ static void __init pcibios_allocate_resources(int pass)
r->start, r->end, r->flags, disabled, pass);
pr = pci_find_parent_resource(dev, r);
if (!pr || request_resource(pr, r) < 0) {
- printk(KERN_ERR "PCI: Cannot allocate "
+ printk(KERN_INFO "PCI: Cannot allocate "
"resource region %d "
"of device %s\n",
idx, pci_name(dev));
diff --git a/drivers/ide/ide-probe.c b/drivers/ide/ide-probe.c
index 8f15c23..966b176 100644
--- a/drivers/ide/ide-probe.c
+++ b/drivers/ide/ide-probe.c
@@ -739,7 +739,7 @@ static void probe_hwif(ide_hwif_t *hwif)
}
}
if (!msgout)
- printk(KERN_ERR "%s: ports already in use, skipping probe\n",
+ printk(KERN_INFO "%s: ports already in use, skipping probe\n",
hwif->name);
return;
}
diff --git a/drivers/ide/ide.c b/drivers/ide/ide.c
index a6f098f..5fb1936 100644
--- a/drivers/ide/ide.c
+++ b/drivers/ide/ide.c
@@ -363,7 +363,7 @@ static struct resource* hwif_request_region(ide_hwif_t *hwif,
struct resource *res = request_region(addr, num, hwif->name);
if (!res)
- printk(KERN_ERR "%s: I/O resource 0x%lX-0x%lX not free.\n",
+ printk(KERN_INFO "%s: I/O resource 0x%lX-0x%lX not free.\n",
hwif->name, addr, addr+num-1);
return res;
}
diff --git a/drivers/input/serio/i8042.c b/drivers/input/serio/i8042.c
index db9cca3..27e4da6 100644
--- a/drivers/input/serio/i8042.c
+++ b/drivers/input/serio/i8042.c
@@ -9,7 +9,6 @@
* under the terms of the GNU General Public License version 2 as published by
* the Free Software Foundation.
*/
-
#include <linux/delay.h>
#include <linux/module.h>
#include <linux/moduleparam.h>
@@ -659,7 +658,7 @@ static int __devinit i8042_check_aux(void)
static int i8042_controller_check(void)
{
if (i8042_flush() == I8042_BUFFER_SIZE) {
- printk(KERN_ERR "i8042.c: No controller found.\n");
+ printk(KERN_INFO "i8042.c: No controller found.\n");
return -ENODEV;
}
--
1.4.4.2
More information about the kernel-team
mailing list