cfg80211: Use const more consistently in for_each_element macros
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>
Loading
-
mentioned in commit aabaaab3
-
mentioned in commit 8e1bf917
-
mentioned in commit a176c2f2
-
mentioned in commit b4656b9b
-
mentioned in commit 613d22a7
-
mentioned in commit 6ba8f087
-
mentioned in commit 5bddbcf1
-
mentioned in commit 536737c1
-
mentioned in commit afb3c589
-
mentioned in commit db58ae18
-
mentioned in commit 783c536c
-
mentioned in commit 94bfaac5
Please sign in to comment