diff options
author | Jouni Malinen <j@w1.fi> | 2019-02-11 16:29:04 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-10-17 13:40:57 -0700 |
commit | a698649b8e32f80ab1e863f9133ae00f8848544b (patch) | |
tree | 34282c35bb7c1a3d0173f36cf952a0e244260ea4 /virt/Makefile | |
parent | 933f4f10c9286ce577db1454abb6b50c124823f9 (diff) |
cfg80211: Use const more consistently in for_each_element macros
commit 7388afe09143210f555bdd6c75035e9acc1fab96 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>
Diffstat (limited to 'virt/Makefile')
0 files changed, 0 insertions, 0 deletions