]> git.baikalelectronics.ru Git - kernel.git/commit
cfg80211: use better order for kcalloc() arguments
authorJohannes Berg <johannes.berg@intel.com>
Wed, 23 May 2018 12:53:41 +0000 (14:53 +0200)
committerJohannes Berg <johannes@sipsolutions.net>
Fri, 15 Jun 2018 11:34:06 +0000 (13:34 +0200)
commitd12b5005a6722140958e065f956c5ba06030cf97
tree53e714d39e027f022bea8eff5023064c72e87f7a
parent0ad6abc946bb5d8dd1d384f80822d6a3822f695a
cfg80211: use better order for kcalloc() arguments

The arguments should be (# of elements, size of each) instead
of the other way around, which really ends up being mostly
equivalent but smatch complains about it, so swap them.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
net/wireless/util.c