summaryrefslogtreecommitdiff
path: root/target/linux/generic/patches-3.14/440-block2mtd_init.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2014-04-10 14:43:17 +0000
committerFelix Fietkau <nbd@openwrt.org>2014-04-10 14:43:17 +0000
commitf02e3a2a4a656aa550ad37e3c547a309872a011d (patch)
tree1e45c4ef87082267df7f56dd6d6ff3fa97144dd5 /target/linux/generic/patches-3.14/440-block2mtd_init.patch
parent8a7a02bd2e98f807ebf8d0c0deb63fab04d055cc (diff)
downloadmtk-20170518-f02e3a2a4a656aa550ad37e3c547a309872a011d.zip
mtk-20170518-f02e3a2a4a656aa550ad37e3c547a309872a011d.tar.gz
mtk-20170518-f02e3a2a4a656aa550ad37e3c547a309872a011d.tar.bz2
x86: try harder to attach block2mtd to fix boot issues on devices with longer delays
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 40444
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.patch2
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 2818bb9..4af7c1b 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]);