openwrt/target/linux/generic/files/drivers
Thibaut VARÈNE 74f891752b generic: make mtdsplit-tplink.c honor rootfs offset
The splitter ignored the rootfs offset from the header, probably
because until c1e6e61 it was invalid.

This patch fixes the splitter to use the now correct header data.

Regarding target/linux/ar71xx/files/drivers/mtd/tplinkpart.c,
this particular splitter "falls back" to the correct rootfs offset
reading and as such it doesn't need to be updated, although it will
report a kernel partition length that can be larger than the actual
length as it assumes that partition fills the entire segment up to
the rootfs partition.

Tested-by: Mathias Kresin <dev@kresin.me>
Tested-by: Stefan Lippers-Hollmann <s.l-h@gmx.de>
Tested-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
Tested-by: Henryk Heisig <hyniu@o2.pl>
Signed-off-by: Thibaut VARÈNE <hacks@slashdirt.org>
2017-11-08 23:18:22 +01:00
..
leds linux/ledtrig-netdev: remove unsigned < 0 check 2017-06-11 14:22:44 +02:00
misc kernel: owl-loader: fix compile warning 2017-10-01 16:40:37 +02:00
mtd generic: make mtdsplit-tplink.c honor rootfs offset 2017-11-08 23:18:22 +01:00
net/phy generic: drop support for get_port_stats() on ar8xxx 2017-09-13 08:07:54 +02:00