openwrt/package/kernel/mac80211
Shiji Yang 2d314984b1 mac80211: ath: add struct_group for struct ath_cycle_counters
Add a struct_group to around all members in struct ath_cycle_counters.
It can help the compiler detect the intended bounds of the memcpy() and
memset().

This patch fixes the following build warning:

In function 'fortify_memset_chk',
    inlined from 'ath9k_ps_wakeup' at /home/db/openwrt/build_dir/target-mips_24kc_musl/linux-ath79_generic/backports-6.1.24/drivers/net/wireless/ath/ath9k/main.c:140:3:
./include/linux/fortify-string.h:314:25: error: call to '__write_overflow_field' declared with attribute warning: detected write beyond size of field (1st parameter); maybe use struct_group()? [-Werror=attribute-warning]
  314 |                         __write_overflow_field(p_size_field, size);
      |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Signed-off-by: Shiji Yang <yangshiji66@qq.com>
2023-10-31 21:12:15 +01:00
..
files mac80211: only add the mbssid option to the config when set 2023-09-13 17:38:25 +02:00
patches mac80211: ath: add struct_group for struct ath_cycle_counters 2023-10-31 21:12:15 +01:00
scripts mac80211: replace backticks by $(...) 2020-05-13 19:01:23 +02:00
ath.mk mac80211: Add ath11k to the help text of ATH_DEBUG 2023-08-25 23:56:21 +02:00
broadcom.mk mac80211: add missing kernel modules for brcmfmac 2023-09-13 09:45:56 +02:00
intel.mk mac80211: add missing dependency for iwlwifi 2023-09-12 11:18:45 +02:00
Makefile mac80211: update to version 6.5 2023-09-11 14:29:36 +02:00
marvell.mk treewide: remove DRIVER_11N_SUPPORT 2022-12-13 10:54:50 +01:00
ralink.mk treewide: remove DRIVER_11N_SUPPORT 2022-12-13 10:54:50 +01:00
realtek.mk treewide: remove DRIVER_11N_SUPPORT 2022-12-13 10:54:50 +01:00