tn3399_openwrt/target
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
..
imagebuilder imagebuilder: add missing libfakeroot files 2020-09-29 00:06:32 +01:00
linux oxnas: fix qc_prep return in sata driver after kernel 5.4.69 2020-10-09 16:16:32 +01:00
sdk build: SDK/IB reproducible and faster compression 2020-08-23 18:55:49 +02:00
toolchain build: improve ccache support 2020-07-11 15:19:53 +02:00
Config.in build: define PWM_SUPPORT arch feature flag 2020-09-25 19:32:33 +02:00
Makefile