* [KJ] [patch scsi/zalon 1] scsi/zalon: Added KERN macro to printk()
@ 2004-11-16 0:02 Andrew McGregor
2004-11-16 12:15 ` maximilian attems
2004-11-16 14:35 ` Andrew McGregor
0 siblings, 2 replies; 3+ messages in thread
From: Andrew McGregor @ 2004-11-16 0:02 UTC (permalink / raw)
To: kernel-janitors
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 <am@misk.net>
--
--- drivers/scsi/zalon.c Mon Nov 15 23:38:14 2004
+++ /root/linux/janitor-linux-2.6.9/drivers/scsi/zalon.c Mon Nov 15
23:38:01 2004
@@ -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);
_______________________________________________
Kernel-janitors mailing list
Kernel-janitors@lists.osdl.org
http://lists.osdl.org/mailman/listinfo/kernel-janitors
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [KJ] [patch scsi/zalon 1] scsi/zalon: Added KERN macro to printk()
2004-11-16 0:02 [KJ] [patch scsi/zalon 1] scsi/zalon: Added KERN macro to printk() Andrew McGregor
@ 2004-11-16 12:15 ` maximilian attems
2004-11-16 14:35 ` Andrew McGregor
1 sibling, 0 replies; 3+ messages in thread
From: maximilian attems @ 2004-11-16 12:15 UTC (permalink / raw)
To: kernel-janitors
[-- Attachment #1: Type: text/plain, Size: 897 bytes --]
On Tue, 16 Nov 2004, Andrew McGregor wrote:
> 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 <am@misk.net>
>
> --
>
> --- drivers/scsi/zalon.c Mon Nov 15 23:38:14 2004
> +++ /root/linux/janitor-linux-2.6.9/drivers/scsi/zalon.c Mon Nov 15
please follow SubmittingPatches,
patches should apply with -p1.
> 23:38:01 2004
> @@ -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);
>
--
maks
kernel janitor http://janitor.kernelnewbies.org/
[-- Attachment #2: Type: text/plain, Size: 167 bytes --]
_______________________________________________
Kernel-janitors mailing list
Kernel-janitors@lists.osdl.org
http://lists.osdl.org/mailman/listinfo/kernel-janitors
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [KJ] [patch scsi/zalon 1] scsi/zalon: Added KERN macro to printk()
2004-11-16 0:02 [KJ] [patch scsi/zalon 1] scsi/zalon: Added KERN macro to printk() Andrew McGregor
2004-11-16 12:15 ` maximilian attems
@ 2004-11-16 14:35 ` Andrew McGregor
1 sibling, 0 replies; 3+ messages in thread
From: Andrew McGregor @ 2004-11-16 14:35 UTC (permalink / raw)
To: kernel-janitors
Quoting maximilian attems <janitor@sternwelten.at>:
> please follow SubmittingPatches,
> patches should apply with -p1.
Hi,
Thank you for your reply. Please find below my second attempt at a kernel
patch.
I have added a KERN macro to a printk() function as requested in the Kernel
Janitor's TODO list.
Signed-off-by: Andrew McGregor <am@misk.net>
---
--- linux-2.6.9/drivers/scsi/zalon.c.orig Tue Nov 16 14:29:22 2004
+++ linux-2.6.9/drivers/scsi/zalon.c Tue Nov 16 14:29:44 2004
@@ -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);
_______________________________________________
Kernel-janitors mailing list
Kernel-janitors@lists.osdl.org
http://lists.osdl.org/mailman/listinfo/kernel-janitors
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2004-11-16 14:35 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-11-16 0:02 [KJ] [patch scsi/zalon 1] scsi/zalon: Added KERN macro to printk() Andrew McGregor
2004-11-16 12:15 ` maximilian attems
2004-11-16 14:35 ` Andrew McGregor
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.