diff options
author | Johannes Berg <johannes.berg@intel.com> | 2016-08-03 13:52:56 +0200 |
---|---|---|
committer | Luca Coelho <luciano.coelho@intel.com> | 2016-09-16 09:10:35 +0300 |
commit | fd659f8e75b7f8214b4f323d46248205b4566e10 (patch) | |
tree | ddcd6755b4fa342cd750c05ac299f05da2d27fff /mm/page_poison.c | |
parent | 9b8568360585854c4fe99572e4fbffc736706cfd (diff) |
iwlwifi: mvm: tighten BAID range check
As pointed out by smatch, checking the BAID for just >= INVALID
is a bad idea since only 32 (IWL_MAX_BAID) actually exist. Check
the range for that and print invalid ones in the warning.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Diffstat (limited to 'mm/page_poison.c')
0 files changed, 0 insertions, 0 deletions