immortalwrt/target/linux/oxnas
Adrian Schmutzler 030e783c05 oxnas: fix qc_prep return in sata driver after kernel 5.4.69
This fixes a regression after a kernel change in 5.4.69 [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=e11c83520cd04b813cd1748ee2a8f2c620e5f7e3

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2020-10-10 17:28:24 +08:00
..
base-files oxnas: move service file to correct place 2020-04-27 08:41:17 +08:00
files oxnas: fix qc_prep return in sata driver after kernel 5.4.69 2020-10-10 17:28:24 +08:00
image oxnas: kd20: revert accedintally commited change 2020-08-29 12:08:24 +08:00
ox810se mpc85xx/mvebu/mxs/octeontx/oxnas/sunxi/tegra/zynq: add kernel 5.4 support 2020-04-16 19:38:37 +08:00
ox820 mpc85xx/mvebu/mxs/octeontx/oxnas/sunxi/tegra/zynq: add kernel 5.4 support 2020-04-16 19:38:37 +08:00
patches-4.14 kernel: bump 4.14 to 4.14.200 2020-10-01 21:53:20 +08:00
patches-5.4 kernel: bump 5.4 to 5.4.69 2020-10-02 13:42:49 +08:00
config-4.14 kernel: bump to 4.9.163 and 4.14.106 2019-03-20 13:52:57 +08:00
config-5.4 oxnas: build with 8021Q VLAN support 2020-06-10 12:15:58 +08:00
Makefile mpc85xx/mvebu/mxs/octeontx/oxnas/sunxi/tegra/zynq: add kernel 5.4 support 2020-04-16 19:38:37 +08:00
modules.mk mpc85xx/mvebu/mxs/octeontx/oxnas/sunxi/tegra/zynq: add kernel 5.4 support 2020-04-16 19:38:37 +08:00