2004-11-20 02:38:06

by maximilian attems

[permalink] [raw]
Subject: [patch 7/8] 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.

Signed-off-by: Andrew McGregor <[email protected]>

Signed-off-by: Maximilian Attems <[email protected]>
---

linux-2.6.10-rc2-bk4-max/drivers/scsi/zalon.c | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)

diff -puN drivers/scsi/zalon.c~printk-drivers-scsi-zalon drivers/scsi/zalon.c
--- linux-2.6.10-rc2-bk4/drivers/scsi/zalon.c~printk-drivers-scsi-zalon 2004-11-20 03:05:13.000000000 +0100
+++ linux-2.6.10-rc2-bk4-max/drivers/scsi/zalon.c 2004-11-20 03:05:13.000000000 +0100
@@ -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);
_