Skip to contentSkip to conversation

scsi/zalon: Added KERN macro to printk()

PATCH In review [email protected] 2 participants 2 messages Mar 6, 2005 – Mar 7, 2005 SCSI

lore
Share & tools
lore
#0 lore raw

PATCH 11/11 scsi/zalon: Added KERN macro to printk()

I have added a KERN macro to a printk() function as requested in the Kernel Janitor's TODO list.

---

 kj-domen/drivers/scsi/zalon.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)
drivers/scsi/zalon.c renamed from drivers/scsi/zalon.c~printk-drivers-scsi-zalon +1 -1
diff -puN drivers/scsi/zalon.c~printk-drivers-scsi-zalon drivers/scsi/zalon.c
@@ -109,7 +109,7 @@ zalon_probe(struct parisc_device *dev)
 	*/
 	dev->irq = gsc_alloc_irq(&gsc_irq);
 
-	printk("%s: Zalon vers field is 0x%x, IRQ %d\n", __FUNCTION__,
+       printk(KERN_INFO "%s: Zalon vers field is 0x%x, IRQ %d\n", __FUNCTION__,
 		zalon_vers, dev->irq);
 
 	__raw_writel(gsc_irq.txn_addr | gsc_irq.txn_data, dev->hpa + IO_MODULE_EIM);

_

#1 lore raw
Quoted 2 lines · On Sun, Mar 06, 2005 at 11:27:24PM +0100, [email protected] wrote:

I have added a KERN macro to a printk() function as requested in the Kernel Janitor's TODO list.

Already taken care of in the parisc tree, thanks.

Signature · 6 lines
"Next the statesmen will invent cheap lies, putting the blame upon 
the nation that is attacked, and every man will be glad of those
conscience-soothing falsities, and will diligently study them, and refuse
to examine any refutations of them; and thus he will by and by convince 
himself that the war is just, and will thank God for the better sleep 
he enjoys after this process of grotesque self-deception." -- Mark Twain