openwrt/target/linux/bcm47xx
Christian Marangi 3e9c471525
bcm47xx: 5.15: fix compilation warning for yenta socket patchi
Rework the patch to completely disable yenta_probe_irq function.
The generated mask is zero by lack due to the fact that probe_irq_mask
use a val never initialized. Correctly rework the ifdef to make the
function always return 0.

Fix compilation warning:
drivers/pcmcia/yenta_socket.c:926:13: error: unused variable 'i' [-Werror=unused-variable]
  926 |         int i;
      |             ^
drivers/pcmcia/yenta_socket.c:954:16: error: 'val' is used uninitialized [-Werror=uninitialized]
  954 |         mask = probe_irq_mask(val) & 0xffff;
      |                ^~~~~~~~~~~~~~~~~~~
drivers/pcmcia/yenta_socket.c:927:23: note: 'val' was declared here
  927 |         unsigned long val;
      |                       ^~~
cc1: all warnings being treated as errors

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
2023-05-12 03:15:37 +02:00
..
base-files bcm47xx: Updated devices database for Netgear WNR3500L V2 2022-06-20 14:29:12 -07:00
generic treewide: replace wpad-basic-wolfssl default 2023-02-04 02:35:03 +01:00
image bcm47xx: relocate LZMA loader #2 2023-02-24 12:05:14 +01:00
legacy bcm47xx: enable adm6996 only on legacy subtarget 2023-03-27 01:25:03 +02:00
mips74k bcm47xx: enable adm6996 only on legacy subtarget 2023-03-27 01:25:03 +02:00
patches-5.10 kernel: bump 5.10 to 5.10.179 2023-04-30 00:01:12 +02:00
patches-5.15 bcm47xx: 5.15: fix compilation warning for yenta socket patchi 2023-05-12 03:15:37 +02:00
config-5.10 bcm47xx: enable adm6996 only on legacy subtarget 2023-03-27 01:25:03 +02:00
config-5.15 bcm47xx: enable adm6996 only on legacy subtarget 2023-03-27 01:25:03 +02:00
Makefile bcm47xx: switch default kernel to the 5.15 2023-02-24 12:06:10 +01:00
modules.mk target: use SPDX license identifiers on Makefiles 2021-02-10 15:47:18 +01:00