projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
treewide: kzalloc() -> kcalloc()
[linux-2.6-microblaze.git]
/
net
/
mac80211
/
scan.c
diff --git
a/net/mac80211/scan.c
b/net/mac80211/scan.c
index
a3b1bcc
..
2e917a6
100644
(file)
--- a/
net/mac80211/scan.c
+++ b/
net/mac80211/scan.c
@@
-1157,7
+1157,7
@@
int __ieee80211_request_sched_scan_start(struct ieee80211_sub_if_data *sdata,
}
}
- ie = k
zalloc(num_bands * iebufsz
, GFP_KERNEL);
+ ie = k
calloc(iebufsz, num_bands
, GFP_KERNEL);
if (!ie) {
ret = -ENOMEM;
goto out;