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