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]
/
drivers
/
cpufreq
/
arm_big_little.c
diff --git
a/drivers/cpufreq/arm_big_little.c
b/drivers/cpufreq/arm_big_little.c
index
1d7ef5f
..
cf62a1f
100644
(file)
--- a/
drivers/cpufreq/arm_big_little.c
+++ b/
drivers/cpufreq/arm_big_little.c
@@
-280,7
+280,7
@@
static int merge_cluster_tables(void)
for (i = 0; i < MAX_CLUSTERS; i++)
count += get_table_count(freq_table[i]);
- table = k
zalloc(sizeof(*table) * count
, GFP_KERNEL);
+ table = k
calloc(count, sizeof(*table)
, GFP_KERNEL);
if (!table)
return -ENOMEM;