]> git.baikalelectronics.ru Git - kernel.git/commit
wifi: use struct_group to copy addresses
authorJohannes Berg <johannes.berg@intel.com>
Mon, 29 Aug 2022 09:46:38 +0000 (11:46 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Sat, 3 Sep 2022 14:40:06 +0000 (16:40 +0200)
commitdcb7916759c88d4f3b3074122ba79e8f04aa04be
tree20833c2bb291f9019c954434c00b093d6d45a935
parentb127a95287093eb81809797bd24332d740bda1aa
wifi: use struct_group to copy addresses

We sometimes copy all the addresses from the 802.11 header
for the AAD, which may cause complaints from fortify checks.
Use struct_group() to avoid the compiler warnings/errors.

Change-Id: Ic3ea389105e7813b22095b295079eecdabde5045
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
include/linux/ieee80211.h
net/mac80211/wpa.c
net/wireless/lib80211_crypt_ccmp.c