Skip to contentSkip to conversation

printk : arch/alpha/kernel/pci.c

KJ Christophe Lucas 1 participant 1 message Sep 23, 2005

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

Description:
printk() calls should include appropriate KERN_* constant.

arch/alpha/kernel/pci.c +1 -1
Index: linux-2.6.14-rc2/arch/alpha/kernel/pci.c
===================================================================
@@ -408,7 +408,7 @@ pcibios_set_master(struct pci_dev *dev)
 	u8 lat;
 	pci_read_config_byte(dev, PCI_LATENCY_TIMER, &lat);
 	if (lat >= 16) return;
-	printk("PCI: Setting latency timer of device %s to 64\n",
+	printk(KERN_INFO "PCI: Setting latency timer of device %s to 64\n",
 							pci_name(dev));
 	pci_write_config_byte(dev, PCI_LATENCY_TIMER, 64);
 }

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