diff options
author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | 2024-08-05 09:40:38 +0300 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2024-08-27 11:28:51 +0300 |
commit | 1842442007cded42decd8c27ce84cfc570b8f5f4 (patch) | |
tree | bbd4471cc92c6b09050dfccfd11166bf8ca9bf2b /Kconfig | |
parent | 3a3d1afd25ea2e142c78b67fb769df5be7d308c3 (diff) | |
download | linux-1842442007cded42decd8c27ce84cfc570b8f5f4.tar.xz |
wifi: lib80211: Constify struct lib80211_crypto_ops
Now that functions in lib80211 handle "const struct lib80211_crypto_ops",
some structure can be constified as well.
Constifying these structures moves some data to a read-only section, so
increase overall security.
Before:
text data bss dec hex filename
7273 604 16 7893 1ed5 net/wireless/lib80211.o
After:
text data bss dec hex filename
7429 444 16 7889 1ed1 net/wireless/lib80211.o
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Reviewed-by: Simon Horman <horms@kernel.org>
Link: https://patch.msgid.link/0cc3741c15f2c502cc85bddda9d6582b5977c8f9.1722839425.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'Kconfig')
0 files changed, 0 insertions, 0 deletions