summaryrefslogtreecommitdiffstats
path: root/recipes-kernel/linux/linux-ti33x-psp-3.2/3.2.2/0055-UBIFS-fix-debugging-messages.patch
diff options
context:
space:
mode:
authorDenys Dmytriyenko <denys@ti.com>2015-05-06 13:24:53 -0400
committerDenys Dmytriyenko <denys@ti.com>2015-05-06 13:51:41 -0400
commit84a71a2560d56081a04b26fe50cfbb666df22f95 (patch)
treed681a25b2dc1533c5661f31a01fddf934602d0e5 /recipes-kernel/linux/linux-ti33x-psp-3.2/3.2.2/0055-UBIFS-fix-debugging-messages.patch
parent7126dca19c9f109c7394267176547d24fd5eb259 (diff)
downloadmeta-ti-84a71a2560d56081a04b26fe50cfbb666df22f95.tar.gz
linux: remove outdated kernel recipes
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Diffstat (limited to 'recipes-kernel/linux/linux-ti33x-psp-3.2/3.2.2/0055-UBIFS-fix-debugging-messages.patch')
-rw-r--r--recipes-kernel/linux/linux-ti33x-psp-3.2/3.2.2/0055-UBIFS-fix-debugging-messages.patch41
1 files changed, 0 insertions, 41 deletions
diff --git a/recipes-kernel/linux/linux-ti33x-psp-3.2/3.2.2/0055-UBIFS-fix-debugging-messages.patch b/recipes-kernel/linux/linux-ti33x-psp-3.2/3.2.2/0055-UBIFS-fix-debugging-messages.patch
deleted file mode 100644
index 9c457123..00000000
--- a/recipes-kernel/linux/linux-ti33x-psp-3.2/3.2.2/0055-UBIFS-fix-debugging-messages.patch
+++ /dev/null
@@ -1,41 +0,0 @@
1From 6c07a86a7e8ac8231be518705c91ba4b32da1813 Mon Sep 17 00:00:00 2001
2From: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
3Date: Tue, 10 Jan 2012 19:32:30 +0200
4Subject: [PATCH 055/129] UBIFS: fix debugging messages
5
6commit d34315da9146253351146140ea4b277193ee5e5f upstream.
7
8Patch 56e46742e846e4de167dde0e1e1071ace1c882a5 broke UBIFS debugging messages:
9before that commit when UBIFS debugging was enabled, users saw few useful
10debugging messages after mount. However, that patch turned 'dbg_msg()' into
11'pr_debug()', so to enable the debugging messages users have to enable them
12first via /sys/kernel/debug/dynamic_debug/control, which is very impractical.
13
14This commit makes 'dbg_msg()' to use 'printk()' instead of 'pr_debug()', just
15as it was before the breakage.
16
17Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
18Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
19---
20 fs/ubifs/debug.h | 5 ++++-
21 1 file changed, 4 insertions(+), 1 deletion(-)
22
23diff --git a/fs/ubifs/debug.h b/fs/ubifs/debug.h
24index 8d9c468..3f65829 100644
25--- a/fs/ubifs/debug.h
26+++ b/fs/ubifs/debug.h
27@@ -190,7 +190,10 @@ extern spinlock_t dbg_lock;
28 } while (0)
29
30 /* Just a debugging messages not related to any specific UBIFS subsystem */
31-#define dbg_msg(fmt, ...) ubifs_dbg_msg("msg", fmt, ##__VA_ARGS__)
32+#define dbg_msg(fmt, ...) \
33+ printk(KERN_DEBUG "UBIFS DBG (pid %d): %s: " fmt "\n", current->pid, \
34+ __func__, ##__VA_ARGS__)
35+
36 /* General messages */
37 #define dbg_gen(fmt, ...) ubifs_dbg_msg("gen", fmt, ##__VA_ARGS__)
38 /* Additional journal messages */
39--
401.7.9.5
41