git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1f4341b
)
UBI: print PID in debug messages
author
Artem Bityutskiy
<artem.bityutskiy@linux.intel.com>
Wed, 22 Aug 2012 13:40:05 +0000
(16:40 +0300)
committer
Grazvydas Ignotas
<notasas@gmail.com>
Sat, 2 Mar 2013 20:11:48 +0000
(22:11 +0200)
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
drivers/mtd/ubi/debug.h
patch
|
blob
|
history
diff --git
a/drivers/mtd/ubi/debug.h
b/drivers/mtd/ubi/debug.h
index
d5d2645
..
d9e89ec
100644
(file)
--- a/
drivers/mtd/ubi/debug.h
+++ b/
drivers/mtd/ubi/debug.h
@@
-39,7
+39,8
@@
void ubi_dump_vid_hdr(const struct ubi_vid_hdr *vid_hdr);
print_hex_dump(l, ps, pt, r, g, b, len, a)
#define ubi_dbg_msg(type, fmt, ...) \
- pr_debug("UBI DBG " type ": " fmt "\n", ##__VA_ARGS__)
+ pr_debug("UBI DBG " type " (pid %d): " fmt "\n", current->pid, \
+ ##__VA_ARGS__)
/* Just a debugging messages not related to any specific UBI subsystem */
#define dbg_msg(fmt, ...) \