openwrt/package/kernel/lantiq/ltq-vmmc/patches
Daniel Golle 000d25c312 kernel: ltq-vmmc: fix compilation warning/error
Fix compilation warning enum-int-mismatch which results in failure to
build kmod-ltq-vmmc in case CONFIG_KERNEL_WERROR is set.
.../build_dir/target-mips_24kc_musl/linux-lantiq_xrx200/drv_vmmc-1.9.0/src/mps/drv_mps_vmmc_common.c:392:14: error: conflicting types for 'ifx_mps_fastbuf_init' due to enum/integer mismatch; have 'IFX_return_t(void)' [-Werror=enum-int-mismatch]
  392 | IFX_return_t ifx_mps_fastbuf_init (IFX_void_t)
      |              ^~~~~~~~~~~~~~~~~~~~
.../build_dir/target-mips_24kc_musl/linux-lantiq_xrx200/drv_vmmc-1.9.0/src/mps/drv_mps_vmmc_common.c:120:13: note: previous declaration of 'ifx_mps_fastbuf_init' with type 'IFX_int32_t(void)' {aka 'int(void)'}
  120 | IFX_int32_t ifx_mps_fastbuf_init (IFX_void_t);
      |             ^~~~~~~~~~~~~~~~~~~~
.../build_dir/target-mips_24kc_musl/linux-lantiq_xrx200/drv_vmmc-1.9.0/src/mps/drv_mps_vmmc_common.c:420:14: error: conflicting types for 'ifx_mps_fastbuf_close' due to enum/integer mismatch; have 'IFX_return_t(void)' [-Werror=enum-int-mismatch]
  420 | IFX_return_t ifx_mps_fastbuf_close (IFX_void_t)
      |              ^~~~~~~~~~~~~~~~~~~~~
.../build_dir/target-mips_24kc_musl/linux-lantiq_xrx200/drv_vmmc-1.9.0/src/mps/drv_mps_vmmc_common.c:121:13: note: previous declaration of 'ifx_mps_fastbuf_close' with type 'IFX_int32_t(void)' {aka 'int(void)'}
  121 | IFX_int32_t ifx_mps_fastbuf_close (IFX_void_t);
      |             ^~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors

Refresh patches and bump PKG_RELEASE while at it.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2024-04-04 15:12:45 +01:00
..
000-portability.patch ltq-vmmc: fix build with kernel 4.9 2017-02-11 23:31:47 +01:00
020-not-leak-cflags.patch lantiq: ltq-vmmc: Do not leak user space CFLAGS into kernel space 2018-03-03 12:58:55 +01:00
100-target.patch ltq-vmmc: fix build with kernel 4.9 2017-02-11 23:31:47 +01:00
200-compat.patch kernel: ltq-vmmc: Fix compilation with Linux 5.15 2022-10-22 19:44:45 +02:00
400-falcon.patch lantiq: align falcon code with ar9-vr9 code 2017-03-27 08:05:53 +02:00
500-ar9_vr9.patch lantiq: cleanup code ar9-vr9 parts 2017-03-27 08:05:53 +02:00
600-fix-compilation-warning-fallthrough.patch kernel: ltq-vmmc: fix compilation warning/error 2024-04-04 15:12:45 +01:00
601-fix-compilation-warning-ret-not-handled.patch kernel: ltq-vmmc: fix compilation warning 2023-05-12 03:15:46 +02:00
602-fix-compilation-warning-int-conversion.patch kernel: ltq-vmmc: fix compilation warning/error 2024-04-04 15:12:45 +01:00