openwrt/target/linux/oxnas
Adrian Schmutzler aee081e62e oxnas: fix qc_prep return in sata driver after kernel 4.14.200
This fixes a regression after a kernel change in 4.14.200 [1] that
led to build failure on oxnas/ox820:

  drivers/ata/sata_oxnas.c:2238:13: error: initialization of
  'enum ata_completion_errors (*)(struct ata_queued_cmd *)'
  from incompatible pointer type
  'void (*)(struct ata_queued_cmd *)' [-Werror=incompatible-pointer-types]
    .qc_prep = sata_oxnas_qc_prep,
               ^~~~~~~~~~~~~~~~~~
  drivers/ata/sata_oxnas.c:2238:13: note:
  (near initialization for 'sata_oxnas_ops.qc_prep')

Our local driver is changed the same way as prototyped in the
kernel patch, i.e. return type is changed and AC_ERR_OK return
value is added.

[1] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=306a1c5b5683c1d37565e575386139a64bdbec6f

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
(cherry picked from commit f6ca57e4f4)
2020-10-12 11:31:19 +01:00
..
base-files oxnas: move service file to correct place 2020-04-27 22:38:34 +02:00
files oxnas: fix qc_prep return in sata driver after kernel 4.14.200 2020-10-12 11:31:19 +01:00
image oxnas: install wireless driver on pogoplugpro 2019-03-12 14:18:42 +01:00
ox810se oxnas: bring in new oxnas target 2018-06-01 15:45:06 +02:00
ox820 oxnas: remove uboot-oxnas-ox820 from default package selection 2019-03-01 04:09:00 +01:00
patches-4.14 kernel: bump 4.14 to 4.14.200 2020-10-12 09:45:54 +02:00
config-4.14 oxnas: build with 8021Q VLAN support 2020-06-09 16:53:51 +01:00
Makefile oxnas: bring in new oxnas target 2018-06-01 15:45:06 +02:00
modules.mk oxnas: bring in new oxnas target 2018-06-01 15:45:06 +02:00