diff options
author | Rafał Miłecki <rafal@milecki.pl> | 2018-05-12 23:12:32 +0200 |
---|---|---|
committer | Rafał Miłecki <rafal@milecki.pl> | 2018-05-12 23:14:07 +0200 |
commit | 070693477a26a40fdf5de2316bc72073dc9930c1 (patch) | |
tree | db8071cc5729875696f356c1da9b18cfe63cda71 /target/linux/generic/pending-4.9/411-mtd-partial_eraseblock_write.patch | |
parent | a3096b4b33dcc5fcc07b229346ef337aa5962019 (diff) | |
download | mtk-20170518-070693477a26a40fdf5de2316bc72073dc9930c1.zip mtk-20170518-070693477a26a40fdf5de2316bc72073dc9930c1.tar.gz mtk-20170518-070693477a26a40fdf5de2316bc72073dc9930c1.tar.bz2 |
kernel: backport mtd patch for minor partitioning cleanup
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Diffstat (limited to 'target/linux/generic/pending-4.9/411-mtd-partial_eraseblock_write.patch')
-rw-r--r-- | target/linux/generic/pending-4.9/411-mtd-partial_eraseblock_write.patch | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/generic/pending-4.9/411-mtd-partial_eraseblock_write.patch b/target/linux/generic/pending-4.9/411-mtd-partial_eraseblock_write.patch index 9a58521..e925983 100644 --- a/target/linux/generic/pending-4.9/411-mtd-partial_eraseblock_write.patch +++ b/target/linux/generic/pending-4.9/411-mtd-partial_eraseblock_write.patch @@ -107,7 +107,7 @@ Signed-off-by: Felix Fietkau <nbd@nbd.name> if (instr->fail_addr != MTD_FAIL_ADDR_UNKNOWN) instr->fail_addr -= part->offset; -@@ -591,19 +660,22 @@ static struct mtd_part *allocate_partiti +@@ -578,19 +647,22 @@ static struct mtd_part *allocate_partiti remainder = do_div(tmp, wr_alignment); if ((slave->mtd.flags & MTD_WRITEABLE) && remainder) { /* Doesn't start on a boundary of major erase size */ |