diff options
author | Johannes Berg <johannes.berg@intel.com> | 2015-09-16 12:21:32 +0200 |
---|---|---|
committer | Luca Coelho <luciano.coelho@intel.com> | 2015-10-05 14:33:33 +0300 |
commit | d3f555f493b037eb688adda6d8a682e9b69211ed (patch) | |
tree | 2e34e363f78349433d4a651b1ef0ee26155f651b /security/apparmor/procattr.c | |
parent | fe96cc73c9f405a0bdc90504048235dfd0384582 (diff) | |
download | lwn-d3f555f493b037eb688adda6d8a682e9b69211ed.tar.gz lwn-d3f555f493b037eb688adda6d8a682e9b69211ed.zip |
iwlwifi: size firmware flags memory correctly
Instead of relying on a hard-coded constant of a maximum of 64 API and
capability bits, add a new enum value after the others that will then
always track the number of used bits in the API/capabilities. We thus
no longer need to maintain the maximum number, and on 32-bit platforms
even (currently) reduce the number of bits kept in memory.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Diffstat (limited to 'security/apparmor/procattr.c')
0 files changed, 0 insertions, 0 deletions