diff options
author | Felix Fietkau <nbd@openwrt.org> | 2014-04-10 14:43:17 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2014-04-10 14:43:17 +0000 |
commit | 550238fa72614802732a895ac0460f3c96b5c337 (patch) | |
tree | fda50f2f73fd091d02f9e46bf171541b387d5661 /target/linux/generic/patches-3.14/440-block2mtd_init.patch | |
parent | 7cdf7c14d6e32b40514059f8d219a86ed0eb381d (diff) | |
download | upstream-550238fa72614802732a895ac0460f3c96b5c337.tar.gz upstream-550238fa72614802732a895ac0460f3c96b5c337.tar.bz2 upstream-550238fa72614802732a895ac0460f3c96b5c337.zip |
x86: try harder to attach block2mtd to fix boot issues on devices with longer delays
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40444 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/generic/patches-3.14/440-block2mtd_init.patch')
-rw-r--r-- | target/linux/generic/patches-3.14/440-block2mtd_init.patch | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/generic/patches-3.14/440-block2mtd_init.patch b/target/linux/generic/patches-3.14/440-block2mtd_init.patch index 2818bb9369..4af7c1bb1c 100644 --- a/target/linux/generic/patches-3.14/440-block2mtd_init.patch +++ b/target/linux/generic/patches-3.14/440-block2mtd_init.patch @@ -89,7 +89,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); + add_device(name, erase_size, token[2]); |