mirror of
git://git.openwrt.org/openwrt/openwrt.git
synced 2025-12-12 15:42:11 -05:00
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>
|
||
|---|---|---|
| .. | ||
| 003-compat-2.6.35.patch | ||
| 004-remove-pcmcia.patch | ||
| 005-fix-mem-leak-on-unload.patch | ||
| 006-generic-dma-api.patch | ||
| 007-use-glue-driver.patch | ||
| 008-fix_virtual_interfaces.patch | ||
| 009-fix_compile_3_2.patch | ||
| 010-remove_irqf_samble_random.patch | ||
| 011-fix_compile_3_4.patch | ||
| 012-compat-3.10.patch | ||
| 013-interface-name.patch | ||
| 014-fix-band-reporting.patch | ||
| 015-support-probe-of-wds-interfaces.patch | ||
| 020-musl-fixes.patch | ||
| 030-remove_devinit_devexit.patch | ||
| 040-remove_last_rx_usage.patch | ||
| 100-fix_nvram_two_devices.patch | ||
| 101-wl_id-fix-compilation-warning-if-does-not-guard.patch | ||
| 110-add_number_to_dev_name.patch | ||
| 120-fixup-mac-addresses.patch | ||
| 200-add_bcm_a8xx_support.patch | ||
| 910-fallback-sprom.patch | ||
| 912-pci-bus-nvram-hack.patch | ||
| 913-avoid-dbe-on-ifs_ctl-readw-hack.patch | ||
| 914-eliminate-date-time-error.patch | ||
| 915-fix-wl_timer-for-4_15.patch | ||
| 916-fix-compilation-for-5_4.patch | ||
| 917-fix-compilation-for-5_10.patch | ||
| 918-fix-warning-compilation-for-5_15.patch | ||