From: Sherwin Soltani <sherwin@wybc.com>
To: greg@kroah.com
Cc: swetland@google.com, devel@driverdev.osuosl.org,
linux-kernel@vger.kernel.org, Sherwin Soltani <sherwin@wybc.com>
Subject: [PATCH] Staging: android: logger.c: fixed some printk macros
Date: Fri, 22 Jun 2012 01:44:46 -0400 [thread overview]
Message-ID: <1340343886-311-1-git-send-email-sherwin@wybc.com> (raw)
Changed a few printk messages in logger.c to make checkpatch.pl happy.
Signed-off-by: Sherwin Soltani <sherwin@wybc.com>
---
drivers/staging/android/logger.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/staging/android/logger.c b/drivers/staging/android/logger.c
index b2e71c6..b490c5c 100644
--- a/drivers/staging/android/logger.c
+++ b/drivers/staging/android/logger.c
@@ -621,13 +621,13 @@ static int __init create_log(char *log_name, int size)
/* finally, initialize the misc device for this log */
ret = misc_register(&log->misc);
if (unlikely(ret)) {
- printk(KERN_ERR "logger: failed to register misc "
- "device for log '%s'!\n", log->misc.name);
+ pr_err("logger: failed to register misc device for log '%s'!\n",
+ log->misc.name);
goto out_free_log;
}
- printk(KERN_INFO "logger: created %luK log '%s'\n",
- (unsigned long) log->size >> 10, log->misc.name);
+ pr_info("logger: created %luK log '%s'\n",
+ (unsigned long) log->size >> 10, log->misc.name);
return 0;
--
1.7.9.5
next reply other threads:[~2012-06-22 5:53 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-06-22 5:44 Sherwin Soltani [this message]
2012-06-23 4:03 ` [PATCH] Staging: android: logger.c: fixed some printk macros Greg KH
2012-06-23 5:43 ` Sherwin Soltani
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=1340343886-311-1-git-send-email-sherwin@wybc.com \
--to=sherwin@wybc.com \
--cc=devel@driverdev.osuosl.org \
--cc=greg@kroah.com \
--cc=linux-kernel@vger.kernel.org \
--cc=swetland@google.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