openwrt/package
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
..
base-files base-files: functions.sh: Add prepend() homologue to append() 2023-10-23 19:18:04 +02:00
boot ath79: add support for GL.iNet GL-S200 2023-10-31 13:53:11 +01:00
devel treewide: make use of new toolchain define 2023-10-20 16:13:56 +02:00
firmware ipq-wifi: update to version 2023-10-12 2023-10-28 19:49:18 +02:00
kernel mac80211: ath: add struct_group for struct ath_cycle_counters 2023-10-31 21:12:15 +01:00
libs libsepol: opt-out of lto usage 2023-10-29 19:42:32 +01:00
network hostapd: do not trim trailing whitespace, except for newline 2023-10-31 13:29:32 +01:00
system treewide: disable QUILT refresh for unsupported packages 2023-10-20 16:13:13 +02:00
utils lua: opt-out of lto usage 2023-10-29 19:42:32 +01:00
Makefile build: generate index.json 2023-05-09 23:56:49 +02:00