openwrt/target/linux/generic
Gabor Juhos c13b4ef2c8 kernel: fix compiler warning in mtdsplit_minor.c under 4.4
When mtdsplit_minor.c is compiled under Linux 4.4, the compiler
drops the following warning:

    CC      drivers/mtd/mtdsplit/mtdsplit_minor.o
  drivers/mtd/mtdsplit/mtdsplit_minor.c:106:14: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types]
    .parse_fn = mtdsplit_parse_minor,
                ^
  drivers/mtd/mtdsplit/mtdsplit_minor.c:106:14: note: (near initialization for 'mtdsplit_minor_parser.parse_fn')

The second parameter of the parser function must not have a 'const'
qualifier in 4.4. The 001-mtdsplit_backport.patch removes the qualifier
from other partition parsers. Update it to handle mtdsplit_minor.c as
well.

Signed-off-by: Gabor Juhos <juhosg@freemail.hu>
2017-12-15 23:57:09 +01:00
..
backport-4.9 kernel: bump 4.9 to 4.9.65 2017-11-24 14:09:11 +02:00
files generic: make mtdsplit-tplink.c honor rootfs offset 2017-11-08 23:18:22 +01:00
hack-4.9 kernel: bump 4.9 to 4.9.67 2017-12-07 01:41:09 +02:00
image treewide: replace nbd@openwrt.org with nbd@nbd.name 2016-06-07 08:58:42 +02:00
other-files kernel: move initramfs's init script out of base-files 2017-04-04 14:06:40 +02:00
pending-3.18 pending-3.18: 610-netfilter_match_bypass_default_check: fix 32bit compat layer 2017-10-24 22:15:37 +02:00
pending-4.4 kernel: fix compiler warning in mtdsplit_minor.c under 4.4 2017-12-15 23:57:09 +01:00
pending-4.9 kernel: MIPS compile out no-op DMA mapping ops where possible 2017-12-08 19:55:17 +01:00
config-3.18 kernel: Enable fadvise on older kernels. 2017-11-17 09:29:45 +01:00
config-4.4 kernel: Enable fadvise on older kernels. 2017-11-17 09:29:45 +01:00
config-4.9 kernel: add support for limiting 4K erase sector support based on flash chip size 2017-11-06 16:38:25 +01:00
PATCHES kernel: update PATCHES with a stricter policy 2013-07-09 20:52:07 +00:00