openwrtv4/target/linux/generic/patches-3.14/442-block2mtd_logmessages.patch
Imre Kaloz 074af75668 add preliminary 3.14 support
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 39789
2014-03-07 11:27:00 +00:00

11 lines
322 B
Diff

--- 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]);