OSDN Git Service

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)
commit1d211d43167690f94f1bcadf44395799382d85d0
tree53e714d39e027f022bea8eff5023064c72e87f7a
parentf0dc7f9c6dd99891611fca5849cbc4c6965b690e
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