summaryrefslogtreecommitdiff
path: root/target/linux/generic/patches-3.12/442-block2mtd_logmessages.patch
blob: fc9b1a9830c3780ee9314fef1eb67f63d38e8444 (plain)
1
2
3
4
5
6
7
8
9
10
11
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]);