]> Pileus Git - ~andy/linux/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)
commit5282c3ba4c5a24b2ab45a6742f9ab01a3d90c167
tree4bee7ff8563d66c62e4eb34e44bc230d5f1f1c17
parent00c3a6ed649c3305b52ff51e187717365aa39d4a
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