Files
linux/include
Jouni Malinen aaec9fa602 cfg80211: Use const more consistently in for_each_element macros
commit 7388afe091 upstream.

Enforce the first argument to be a correct type of a pointer to struct
element and avoid unnecessary typecasts from const to non-const pointers
(the change in validate_ie_attr() is needed to make this part work). In
addition, avoid signed/unsigned comparison within for_each_element() and
mark struct element packed just in case.

Signed-off-by: Jouni Malinen <j@w1.fi>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-05-15 14:48:14 +09:00
..
2023-05-15 11:44:58 +09:00
2023-05-12 17:24:40 +09:00