1
0
mirror of https://git.openwrt.org/openwrt/openwrt.git synced 2024-10-19 22:18:16 +02:00
openwrt/target/linux/generic/patches-3.12/442-block2mtd_logmessages.patch
Imre Kaloz c7d102816c refresh patch
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 38930
2013-11-27 12:31:05 +00:00

12 lines
322 B
Diff

--- a/drivers/mtd/devices/block2mtd.c
+++ b/drivers/mtd/devices/block2mtd.c
@@ -397,7 +397,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]);