summaryrefslogtreecommitdiff
path: root/target/linux/generic/patches-3.13/442-block2mtd_logmessages.patch
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/generic/patches-3.13/442-block2mtd_logmessages.patch')
-rw-r--r--target/linux/generic/patches-3.13/442-block2mtd_logmessages.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/target/linux/generic/patches-3.13/442-block2mtd_logmessages.patch b/target/linux/generic/patches-3.13/442-block2mtd_logmessages.patch
new file mode 100644
index 0000000..983106b
--- /dev/null
+++ b/target/linux/generic/patches-3.13/442-block2mtd_logmessages.patch
@@ -0,0 +1,11 @@
+--- a/drivers/mtd/devices/block2mtd.c
++++ b/drivers/mtd/devices/block2mtd.c
+@@ -398,7 +398,7 @@ static int block2mtd_setup2(const char *
+ }
+ }
+ 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]);
+