Skip to contentSkip to conversation

printk : arch/arm/mach-ixp4xx/common.c

PATCH New Christophe Lucas 1 participant 3 messages May 15, 2006

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

PATCH 1/1 printk : arch/arm/mach-ixp4xx/common.c

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

arch/arm/mach-ixp4xx/common.c +1 -1
Index: linux-2.6.16.16/arch/arm/mach-ixp4xx/common.c
===================================================================
@@ -359,7 +359,7 @@
 		}
 	}
 
-	printk("IXP4xx: Using %luMiB expansion bus window size\n",
+	printk(KERN_INFO "IXP4xx: Using %luMiB expansion bus window size\n",
 			ixp4xx_exp_bus_size >> 20);
 }
 

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

#1 lore raw

PATCH 1/1 printk : arch/arm/mach-ixp4xx/common-pci.c

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

arch/arm/mach-ixp4xx/common-pci.c +4 -4
Index: linux-2.6.16.16/arch/arm/mach-ixp4xx/common-pci.c
===================================================================
@@ -375,7 +375,7 @@
 	 * Rev 0 IXP425 requires workaround.
 	 */
 	if (!(processor_id & 0xf) && !cpu_is_ixp46x()) {
-		printk("PCI: IXP42x A0 silicon detected - "
+		printk(KERN_INFO "PCI: IXP42x A0 silicon detected - "
 			"PCI Non-Prefetch Workaround Enabled\n");
 		ixp4xx_pci_read = ixp4xx_pci_read_errata;
 	} else
@@ -404,7 +404,7 @@
 		0x00010203;
 
 	if (*PCI_CSR & PCI_CSR_HOST) {
-		printk("PCI: IXP4xx is host\n");
+		printk(KERN_INFO "PCI: IXP4xx is host\n");
 
 		pr_debug("setup BARs in controller\n");
 
@@ -427,10 +427,10 @@
 		 */
 		local_write_config(PCI_BASE_ADDRESS_5, 4, 0xfffffc01);
 	} else {
-		printk("PCI: IXP4xx is target - No bus scan performed\n");
+		printk(KERN_INFO "PCI: IXP4xx is target - No bus scan performed\n");
 	}
 
-	printk("PCI: IXP4xx Using %s access for memory space\n",
+	printk(KERN_INFO "PCI: IXP4xx Using %s access for memory space\n",
 #ifndef CONFIG_IXP4XX_INDIRECT_PCI
 			"direct"
 #else

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

#2 lore raw

PATCH 1/1 printk : arch/arm/mach-ixp4xx/gtwx5715-pci.c

In reply to Christophe Lucas

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

arch/arm/mach-ixp4xx/gtwx5715-pci.c +1 -1
Index: linux-2.6.16.16/arch/arm/mach-ixp4xx/gtwx5715-pci.c
===================================================================
@@ -69,7 +69,7 @@
 	else
 		rc = gtwx5715_irqmap[slot][pin-1];
 
-	printk("%s: Mapped slot %d pin %d to IRQ %d\n", __FUNCTION__,slot, pin, rc);
+	printk(KERN_INFO "%s: Mapped slot %d pin %d to IRQ %d\n", __FUNCTION__,slot, pin, rc);
 	return(rc);
 }
 

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