openwrt-mirror/package/kernel/broadcom-wl/patches
Christian Marangi f3fc9ac1aa
kernel: broadcom-wl: add patch dropping set_fs and get_fs for > 5.13
Drop set_fs and get_fs since they are not present in kernel > 5.13.
Fix compilation warning:
/__w/openwrt/openwrt/openwrt/build_dir/target-mipsel-openwrt-linux-musl_musl/linux-bcm47xx_generic/broadcom-wl-5.10.56.27.3/driver/wl_iw.c: In function 'dev_wlc_ioctl':
/__w/openwrt/openwrt/openwrt/build_dir/target-mipsel-openwrt-linux-musl_musl/linux-bcm47xx_generic/broadcom-wl-5.10.56.27.3/driver/wl_iw.c:121:14: error: implicit declaration of function 'get_fs'; did you mean 'sget_fc'? [-Werror=implicit-function-declaration]
  121 |         fs = get_fs();
      |              ^~~~~~
      |              sget_fc
/__w/openwrt/openwrt/openwrt/build_dir/target-mipsel-openwrt-linux-musl_musl/linux-bcm47xx_generic/broadcom-wl-5.10.56.27.3/driver/wl_iw.c:121:14: error: incompatible types when assigning to type 'mm_segment_t' from type 'int'
/__w/openwrt/openwrt/openwrt/build_dir/target-mipsel-openwrt-linux-musl_musl/linux-bcm47xx_generic/broadcom-wl-5.10.56.27.3/driver/wl_iw.c:122:9: error: implicit declaration of function 'set_fs'; did you mean 'sget_fc'? [-Werror=implicit-function-declaration]
  122 |         set_fs(KERNEL_DS);
      |         ^~~~~~
      |         sget_fc
/__w/openwrt/openwrt/openwrt/build_dir/target-mipsel-openwrt-linux-musl_musl/linux-bcm47xx_generic/broadcom-wl-5.10.56.27.3/driver/wl_iw.c:122:16: error: 'KERNEL_DS' undeclared (first use in this function); did you mean 'KERNFS_NS'?
  122 |         set_fs(KERNEL_DS);
      |                ^~~~~~~~~
      |                KERNFS_NS

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
2023-05-12 03:15:44 +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
918-fix-warning-compilation-for-5_15.patch kernel: broadcom-wl: add patch dropping set_fs and get_fs for > 5.13 2023-05-12 03:15:44 +02:00