openwrt-mirror/package/kernel/broadcom-wl/patches
Christian Marangi 40b075042b
kernel: broadcom-wl: add patch fixing compilation warning
Add patch fixing compilation warning related to if clause not guarding in
wl_iw.c
Fix compilation warning:
/__w/openwrt/openwrt/openwrt/build_dir/target-mipsel-openwrt-linux-musl_musl/linux-bcm47xx_legacy/broadcom-wl-5.10.56.27.3/driver/wl_iw.c: In function 'wl_iw_set_freq':
/__w/openwrt/openwrt/openwrt/build_dir/target-mipsel-openwrt-linux-musl_musl/linux-bcm47xx_legacy/broadcom-wl-5.10.56.27.3/driver/wl_iw.c:393:9: error: this 'if' clause does not guard... [-Werror=misleading-indentation]
  393 |         if (fwrq->m > 4000 && fwrq->m < 5000)
      |         ^~
/__w/openwrt/openwrt/openwrt/build_dir/target-mipsel-openwrt-linux-musl_musl/linux-bcm47xx_legacy/broadcom-wl-5.10.56.27.3/driver/wl_iw.c:396:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
  396 |                 chan = wf_mhz2channel(fwrq->m, sf);
      |                 ^~~~
cc1: all warnings being treated as errors

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
2023-05-12 03:15:43 +02:00
..
003-compat-2.6.35.patch
004-remove-pcmcia.patch
005-fix-mem-leak-on-unload.patch
006-generic-dma-api.patch broadcom-wl: assign first increased mac address to internal wifi core 2014-07-07 17:38:54 +00:00
007-use-glue-driver.patch broadcom-wl: perform additional cleanup on wl module unload 2013-11-11 22:03:58 +00:00
008-fix_virtual_interfaces.patch broadcom-wl: fix crash when starting multiple virtual interfaces 2013-11-11 22:04:26 +00:00
009-fix_compile_3_2.patch broadcom-wl: fix crash when starting multiple virtual interfaces 2013-11-11 22:04:26 +00:00
010-remove_irqf_samble_random.patch broadcom-wl: assign first increased mac address to internal wifi core 2014-07-07 17:38:54 +00:00
011-fix_compile_3_4.patch
012-compat-3.10.patch broadcom-wl: fix crash when starting multiple virtual interfaces 2013-11-11 22:04:26 +00:00
013-interface-name.patch broadcom-wl: fix crash when starting multiple virtual interfaces 2013-11-11 22:04:26 +00:00
014-fix-band-reporting.patch broadcom-wl: assign first increased mac address to internal wifi core 2014-07-07 17:38:54 +00:00
015-support-probe-of-wds-interfaces.patch broadcom-wl: support probe of 'wds' devices 2013-11-11 22:04:53 +00:00
020-musl-fixes.patch broadcom-wl: fix build with musl 2015-06-17 22:37:49 +00:00
030-remove_devinit_devexit.patch broadcom-wl: fix section mismatches in broadcom-wl driver 2015-08-29 17:37:41 +00:00
040-remove_last_rx_usage.patch broadcom-wl: Fix compilation with kernel 5.10 2022-06-20 14:29:12 -07:00
100-fix_nvram_two_devices.patch broadcom-wl: fix compiler warning 2013-11-11 21:56:45 +00:00
101-wl_id-fix-compilation-warning-if-does-not-guard.patch kernel: broadcom-wl: add patch fixing compilation warning 2023-05-12 03:15:43 +02:00
110-add_number_to_dev_name.patch broadcom-wl: fix crash when starting multiple virtual interfaces 2013-11-11 22:04:26 +00:00
120-fixup-mac-addresses.patch broadcom-wl: fix compile with kernel 4.9 2017-10-18 23:26:15 +02:00
200-add_bcm_a8xx_support.patch broadcom-wl: add support for a8xx broadcom devices 2014-08-08 22:58:54 +00:00
910-fallback-sprom.patch brcm-wl: use new brcm63xx fallback sprom 2014-10-02 12:24:05 +00:00
912-pci-bus-nvram-hack.patch
913-avoid-dbe-on-ifs_ctl-readw-hack.patch
914-eliminate-date-time-error.patch broadcom_wl: eliminate compiler error with gcc-4.9-linaro 2014-10-24 18:05:51 +00:00
915-fix-wl_timer-for-4_15.patch broadcom-wl: Fix compilation with kernel 5.10 2022-06-20 14:29:12 -07:00
916-fix-compilation-for-5_4.patch broadcom-wl: Fix compilation with kernel 5.10 2022-06-20 14:29:12 -07:00
917-fix-compilation-for-5_10.patch broadcom-wl: Fix compilation with kernel 5.10 2022-06-20 14:29:12 -07:00