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
kernel: update 3.18 to 3.18.14
[openwrt/svn-archive/archive.git]
/
target
/
linux
/
ar7
/
patches-3.18
/
920-ar7part.patch
diff --git
a/target/linux/ar7/patches-3.18/920-ar7part.patch
b/target/linux/ar7/patches-3.18/920-ar7part.patch
index 84f68d82ab9401de5f34329b490894cb500f6510..9948858d054bc5aa8a9ad413d6a50e7467c60bb9 100644
(file)
--- a/
target/linux/ar7/patches-3.18/920-ar7part.patch
+++ b/
target/linux/ar7/patches-3.18/920-ar7part.patch
@@
-33,7
+33,7
@@
size_t len;
unsigned int pre_size = master->erasesize, post_size = 0;
unsigned int root_offset = ROOT_OFFSET;
size_t len;
unsigned int pre_size = master->erasesize, post_size = 0;
unsigned int root_offset = ROOT_OFFSET;
-@@ -55,6 +62,16 @@ static int create_mtd_partitions(struct
+@@ -55,6 +62,16 @@ static int create_mtd_partitions(struct
int retries = 10;
struct mtd_partition *ar7_parts;
int retries = 10;
struct mtd_partition *ar7_parts;
@@
-50,7
+50,7
@@
ar7_parts = kzalloc(sizeof(*ar7_parts) * AR7_PARTS, GFP_KERNEL);
if (!ar7_parts)
return -ENOMEM;
ar7_parts = kzalloc(sizeof(*ar7_parts) * AR7_PARTS, GFP_KERNEL);
if (!ar7_parts)
return -ENOMEM;
-@@ -83,34 +100,39 @@ static int create_mtd_partitions(struct
+@@ -83,34 +100,39 @@ static int create_mtd_partitions(struct
pre_size = offset;
pre_size = offset;