[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1327116249-18274-1-git-send-email-gada.kashyap@gmail.com>
Date: Sat, 21 Jan 2012 03:24:09 +0000
From: Kashyap Gada <gada.kashyap@...il.com>
To: gregkh@...e.de
Cc: rebecca@...roid.com, rschultz@...gle.com, jgennis@...gle.com,
dima@...roid.com, devel@...verdev.osuosl.org,
linux-kernel@...r.kernel.org, Kashyap Gada <gada.kashyap@...il.com>
Subject: [PATCH 5/5] Staging: android: Add KERN_ facility level in printk () in pmem.c
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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists