From: Kashyap Gada <gada.kashyap@gmail.com>
To: gregkh@suse.de
Cc: rebecca@android.com, rschultz@google.com, jgennis@google.com,
dima@android.com, devel@driverdev.osuosl.org,
linux-kernel@vger.kernel.org,
Kashyap Gada <gada.kashyap@gmail.com>
Subject: [PATCH 5/5] Staging: android: Add KERN_ facility level in printk () in pmem.c
Date: Sat, 21 Jan 2012 03:24:09 +0000 [thread overview]
Message-ID: <1327116249-18274-1-git-send-email-gada.kashyap@gmail.com> (raw)
diff --git a/drivers/staging/android/pmem.c b/drivers/staging/android/pmem.c
index 65ba61a..c589c0c 100644
--- a/drivers/staging/android/pmem.c
+++ b/drivers/staging/android/pmem.c
@@ -831,7 +831,7 @@ static int pmem_connect(unsigned long connect, struct file *file)
src_file = fget_light(connect, &put_needed);
DLOG("connect %p to %p\n", file, src_file);
if (!src_file) {
- printk("pmem: src file not found!\n");
+ printk(KERN_ERR "pmem: src file not found!\n");
ret = -EINVAL;
goto err_no_file;
}
@@ -934,7 +934,7 @@ int pmem_remap(struct pmem_region *region, struct file *file,
if (unlikely(!PMEM_IS_PAGE_ALIGNED(region->offset) ||
!PMEM_IS_PAGE_ALIGNED(region->len))) {
#if PMEM_DEBUG
- printk("pmem: request for unaligned pmem suballocation "
+ printk(KERN_DEBUG "pmem: request for unaligned pmem suballocation "
"%lx %lx\n", region->offset, region->len);
#endif
return -EINVAL;
--
1.7.5.4
next reply other threads:[~2012-01-21 3:24 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-01-21 3:24 Kashyap Gada [this message]
2012-01-23 17:22 ` Dima Zavin
2012-01-23 17:31 ` Greg KH
2012-01-27 17:51 ` Shuah Khan
2012-01-27 18:00 ` Greg KH
2012-01-26 12:09 ` Alan Cox
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=1327116249-18274-1-git-send-email-gada.kashyap@gmail.com \
--to=gada.kashyap@gmail.com \
--cc=devel@driverdev.osuosl.org \
--cc=dima@android.com \
--cc=gregkh@suse.de \
--cc=jgennis@google.com \
--cc=linux-kernel@vger.kernel.org \
--cc=rebecca@android.com \
--cc=rschultz@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
all inboxes | Powered by JetHome®