projects
/
openwrt
/
svn-archive
/
archive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
x86: try harder to attach block2mtd to fix boot issues on devices with longer delays
[openwrt/svn-archive/archive.git]
/
target
/
linux
/
generic
/
patches-3.12
/
440-block2mtd_init.patch
diff --git
a/target/linux/generic/patches-3.12/440-block2mtd_init.patch
b/target/linux/generic/patches-3.12/440-block2mtd_init.patch
index 4617bf41701740a308f27fd8c534459fa83eb93d..198d9615b1a39d02f6b2d49903926c2369892223 100644
(file)
--- a/
target/linux/generic/patches-3.12/440-block2mtd_init.patch
+++ b/
target/linux/generic/patches-3.12/440-block2mtd_init.patch
@@
-89,7
+89,7
@@
}
}
+ if (token[2] && (strlen(token[2]) + 1 > 80))
-+ p
arse_err("mtd device name too long
");
++ p
r_err("mtd device name too long\n
");
- add_device(name, erase_size);
+ add_device(name, erase_size, token[2]);