openwrt/target
Adrian Schmutzler d94c59f7eb 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-19 21:19:10 +02:00
..
imagebuilder imagebuilder: manifest function show stderr 2018-12-18 11:01:55 +01:00
linux oxnas: fix qc_prep return in sata driver after kernel 4.14.200 2020-10-19 21:19:10 +02:00
sdk sdk: fix GCC and Python dangling symlinks 2019-11-09 08:31:04 +01:00
toolchain merge: etc: update remaining files 2017-12-08 19:41:18 +01:00
Config.in build: add support for enabling the rootfs/boot partition size option via target feature 2018-12-18 11:28:12 +01:00
Makefile build: make <subdir>/install opt-in, use it for target/ only 2017-02-09 13:51:35 +01:00