All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andrew McGregor <am@misk.net>
To: kernel-janitors@vger.kernel.org
Subject: Re: [KJ] [patch scsi/zalon 1] scsi/zalon: Added KERN macro to printk()
Date: Tue, 16 Nov 2004 14:35:48 +0000	[thread overview]
Message-ID: <1100615748.419a1044eb930@webmail.misk.net> (raw)
In-Reply-To: <1100563336.41994388ca77d@webmail.misk.net>

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

      parent reply	other threads:[~2004-11-16 14:35 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1100615748.419a1044eb930@webmail.misk.net \
    --to=am@misk.net \
    --cc=kernel-janitors@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.