openwrt-mirror/target/linux
Adrian Schmutzler f6ca57e4f4 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-09 16:16:32 +01:00
..
apm821xx kernel: clean up XATTR config symbols 2020-10-09 01:49:22 +01:00
arc770 arc770: drop support for kernel 4.14 2020-09-02 16:29:22 +02:00
archs38 treewide: use wpad-basic-wolfssl as default 2020-08-20 14:19:39 +02:00
armvirt kernel: clean up XATTR config symbols 2020-10-09 01:49:22 +01:00
at91 at91: explicitly set CONFIG_USB_SUPPORT for sam9x subtarget 2020-08-27 16:36:18 +02:00
ath25 ath25: fix preinit Ethernet port configuration 2020-09-10 18:52:15 +02:00
ath79 ath79: rename ubnt,acb-isp to ubnt,aircube-isp 2020-10-06 15:13:27 +02:00
bcm27xx kernel: clean up XATTR config symbols 2020-10-09 01:49:22 +01:00
bcm47xx kernel: bump 5.4 to 5.4.64 2020-09-12 01:28:50 +02:00
bcm53xx kernel: bump 5.4 to 5.4.69 2020-10-02 22:02:26 +02:00
bcm63xx kernel: bump 5.4 to 5.4.67 2020-09-24 18:53:23 +02:00
gemini gemini: Bring up DSA switches 2020-09-25 19:32:34 +02:00
generic kernel: clean up XATTR config symbols 2020-10-09 01:49:22 +01:00
imx6 kernel: clean up XATTR config symbols 2020-10-09 01:49:22 +01:00
ipq40xx ipq40xx: 5.4: move AR40xx driver into files 2020-10-09 14:21:10 +02:00
ipq806x ipq806x: remove model name from LED labels 2020-10-07 01:31:45 +02:00
ipq807x kernel: unify CONFIG_GPIO_SYSFS in kernel configs 2020-08-06 12:37:04 +02:00
kirkwood target: update SPDX license names 2020-09-22 20:58:26 +02:00
lantiq lantiq: remove model name from LED labels 2020-10-08 20:21:18 +02:00
layerscape kernel: clean up XATTR config symbols 2020-10-09 01:49:22 +01:00
malta kernel: clean up XATTR config symbols 2020-10-09 01:49:22 +01:00
mediatek kernel: clean up XATTR config symbols 2020-10-09 01:49:22 +01:00
mpc85xx target: update SPDX license names 2020-09-22 20:58:26 +02:00
mvebu kernel: clean up XATTR config symbols 2020-10-09 01:49:22 +01:00
mxs treewide: make dependency on kmod-usb-net selective 2020-08-10 12:54:30 +02:00
octeon kernel: clean up XATTR config symbols 2020-10-09 01:49:22 +01:00
octeontx kernel: clean up XATTR config symbols 2020-10-09 01:49:22 +01:00
omap kernel: clean up XATTR config symbols 2020-10-09 01:49:22 +01:00
oxnas oxnas: fix qc_prep return in sata driver after kernel 5.4.69 2020-10-09 16:16:32 +01:00
pistachio pistachio: drop support for kernel 4.14 2020-09-02 16:29:22 +02:00
ramips ramips: fix logic level for DIR-645 buttons 2020-10-03 22:52:58 +02:00
rockchip kernel: clean up XATTR config symbols 2020-10-09 01:49:22 +01:00
rtl838x target: update SPDX license names 2020-09-22 20:58:26 +02:00
sunxi kernel: clean up XATTR config symbols 2020-10-09 01:49:22 +01:00
tegra kernel: clean up XATTR config symbols 2020-10-09 01:49:22 +01:00
uml kernel: clean up XATTR config symbols 2020-10-09 01:49:22 +01:00
x86 kernel: clean up XATTR config symbols 2020-10-09 01:49:22 +01:00
zynq kernel: clean up XATTR config symbols 2020-10-09 01:49:22 +01:00
Makefile build: add 'make kernel_xconfig' command 2020-07-08 16:07:05 +02:00