Skip to contentSkip to conversation

scsi/zalon: Added KERN macro to printk()

PATCH In review [email protected] 2 participants 2 messages Jan 11, 2005 – Jan 12, 2005 SCSI

lore
Share & tools
lore
#0 lore raw

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

Hi,

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)
 	*/
 	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, irq);
 
 	__raw_writel(gsc_irq.txn_addr | gsc_irq.txn_data, dev->hpa + IO_MODULE_EIM);

_

#1 lore raw
Quoted 2 lines · On Wed, Jan 12, 2005 at 12:23:00AM +0100, [email protected] wrote:

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

I'll merge this one through the PA-RISC tree; I've actually changed this line already, but will add the KERN_ prefix.

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