diff options
author | wigyori <wigyori@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2013-11-17 11:57:57 +0000 |
---|---|---|
committer | wigyori <wigyori@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2013-11-17 11:57:57 +0000 |
commit | 04b7adb00fcc9d7654c42098c092d822b1636882 (patch) | |
tree | e3d8fb4da14c5aadba2104fe91bed12711e94a45 /target/linux/generic | |
parent | b7260bb4a7c483e1193bb7e7c27f450a18fe3cd9 (diff) |
kernel: add fix to block2mtd driver for modified error logging
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38827 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/generic')
-rw-r--r-- | target/linux/generic/patches-3.12/442-block2mtd_logmessages.patch | 12 |
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]); + |