Skip to contentSkip to conversation

printk : arch/arm/mach-footbridge/cats-pci.c

PATCH New Christophe Lucas 1 participant 2 messages Jan 26, 2006

Subsystems (4)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 printk : arch/arm/mach-footbridge/cats-pci.c

Description:
printk should include appropriate KERN_* constant (of course only at beginning of lines).

arch/arm/mach-footbridge/cats-pci.c +1 -1
Index: linux-2.6.15/arch/arm/mach-footbridge/cats-pci.c
===================================================================
@@ -25,7 +25,7 @@
 		return irqmap_cats[dev->irq - 1];
 
 	if (dev->irq != 0)
-		printk("PCI: device %02x:%02x has unknown irq line %x\n",
+		printk(KERN_INFO "PCI: device %02x:%02x has unknown irq line %x\n",
 		       dev->bus->number, dev->devfn, dev->irq);
 
 	return -1;

_______________________________________________
Kernel-janitors mailing list
[email protected]
https://lists.osdl.org/mailman/listinfo/kernel-janitors

#1 lore raw

PATCH 1/1 printk : arch/arm/mach-footbridge/dc21285.c

Description:
printk should include appropriate KERN_* constant (of course only at beginning of lines).

arch/arm/mach-footbridge/dc21285.c +1 -1
Index: linux-2.6.15/arch/arm/mach-footbridge/dc21285.c
===================================================================
@@ -257,7 +257,7 @@
 
 	res = kmalloc(sizeof(struct resource) * 2, GFP_KERNEL);
 	if (!res) {
-		printk("out of memory for root bus resources");
+		printk(KERN_EMERG "out of memory for root bus resources");
 		return 0;
 	}
 

_______________________________________________
Kernel-janitors mailing list
[email protected]
https://lists.osdl.org/mailman/listinfo/kernel-janitors