From: Rudhresh Kumar J <rudhresh.jk@gmail.com>
To: fthain@telegraphics.com.au
Cc: schmitzmic@gmail.com, JBottomley@odin.com,
linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org,
Rudhresh Kumar J <rudhreshj@cdac.in>,
Rudhresh Kumar J <rudhresh.jk@gmail.com>
Subject: [PATCH] SCSI: DTC: Adding KERN_ facility level
Date: Tue, 30 Jun 2015 21:59:16 +0530 [thread overview]
Message-ID: <1435681756-5508-1-git-send-email-rudhreshj@cdac.in> (raw)
Fixed coding style issue by adding KERN_ facility level to some of
the printk functions.
Signed-off-by: Rudhresh Kumar J <rudhresh.jk@gmail.com>
---
drivers/scsi/dtc.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/scsi/dtc.c b/drivers/scsi/dtc.c
index 4c74c7b..a3a2a71 100644
--- a/drivers/scsi/dtc.c
+++ b/drivers/scsi/dtc.c
@@ -156,7 +156,7 @@ static int __init dtc_setup(char *str)
get_options(str, ARRAY_SIZE(ints), ints);
if (ints[0] != 2)
- printk("dtc_setup: usage dtc=address,irq\n");
+ printk(KERN_DEBUG "dtc_setup: usage dtc=address,irq\n");
else if (commandline_current < NO_OVERRIDES) {
overrides[commandline_current].address = ints[1];
overrides[commandline_current].irq = ints[2];
@@ -272,7 +272,7 @@ found:
instance->irq = NO_IRQ;
#endif
#if defined(DTCDEBUG) && (DTCDEBUG & DTCDEBUG_INIT)
- printk("scsi%d : irq = %d\n", instance->host_no, instance->irq);
+ printk(KERN_DEBUG "scsi%d : irq = %d\n", instance->host_no, instance->irq);
#endif
++current_override;
--
1.8.4
next reply other threads:[~2015-06-30 16:29 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-06-30 16:29 Rudhresh Kumar J [this message]
2015-08-25 1:53 ` [PATCH] SCSI: DTC: Adding KERN_ facility level Finn Thain
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=1435681756-5508-1-git-send-email-rudhreshj@cdac.in \
--to=rudhresh.jk@gmail.com \
--cc=JBottomley@odin.com \
--cc=fthain@telegraphics.com.au \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-scsi@vger.kernel.org \
--cc=rudhreshj@cdac.in \
--cc=schmitzmic@gmail.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).