]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: verify ieee80211_key_replace() arguments
authorJohannes Berg <johannes.berg@intel.com>
Tue, 29 Oct 2013 09:00:08 +0000 (10:00 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 25 Nov 2013 19:50:44 +0000 (20:50 +0100)
commitf8252c4ed3ef4562e5c7a503fee65eb1ac6232b1
tree4bee7ff8563d66c62e4eb34e44bc230d5f1f1c17
parent2582074fb3e8497867fc0009d03c6f0f340b9840
mac80211: verify ieee80211_key_replace() arguments

There's no code calling ieee80211_key_replace() with both
arguments NULL and it wouldn't make sense, but in the
interest of maintainability add a warning for it. As a
side effect, this also shuts up a smatch warning.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/key.c