aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZoltan Herpai <wigyori@uid0.hu>2013-11-17 11:57:57 +0000
committerZoltan Herpai <wigyori@uid0.hu>2013-11-17 11:57:57 +0000
commit9269e58b2ae8657841f3a577b115b65823455467 (patch)
tree736be93d9b09a11ace2d8b0884d9eed4d36685a7
parent3a99e895ff2b97d4abd2400d390ad82dd9bfd017 (diff)
downloadupstream-9269e58b2ae8657841f3a577b115b65823455467.tar.gz
upstream-9269e58b2ae8657841f3a577b115b65823455467.tar.bz2
upstream-9269e58b2ae8657841f3a577b115b65823455467.zip
kernel: add fix to block2mtd driver for modified error logging
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu> SVN-Revision: 38827
-rw-r--r--target/linux/generic/patches-3.12/442-block2mtd_logmessages.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/target/linux/generic/patches-3.12/442-block2mtd_logmessages.patch b/target/linux/generic/patches-3.12/442-block2mtd_logmessages.patch
new file mode 100644
index 0000000000..fc9b1a9830
--- /dev/null
+++ b/target/linux/generic/patches-3.12/442-block2mtd_logmessages.patch
@@ -0,0 +1,12 @@
+diff -ruN old/drivers/mtd/devices/block2mtd.c new/drivers/mtd/devices/block2mtd.c
+--- old/drivers/mtd/devices/block2mtd.c 2013-11-16 13:04:16.000000000 +0100
++++ new/drivers/mtd/devices/block2mtd.c 2013-11-17 12:00:10.820195738 +0100
+@@ -397,7 +397,7 @@
+ }
+ }
+ if (token[2] && (strlen(token[2]) + 1 > 80))
+- parse_err("mtd device name too long");
++ pr_err("mtd device name too long\n");
+
+ add_device(name, erase_size, token[2]);
+