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
Merge branch 'work.aio' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs
[linux-2.6-microblaze.git]
/
arch
/
x86
/
kernel
/
cpu
/
mcheck
/
mce_amd.c
diff --git
a/arch/x86/kernel/cpu/mcheck/mce_amd.c
b/arch/x86/kernel/cpu/mcheck/mce_amd.c
index
f591b01
..
dd33c35
100644
(file)
--- a/
arch/x86/kernel/cpu/mcheck/mce_amd.c
+++ b/
arch/x86/kernel/cpu/mcheck/mce_amd.c
@@
-1384,7
+1384,7
@@
int mce_threshold_create_device(unsigned int cpu)
if (bp)
return 0;
- bp = k
zalloc(sizeof(struct threshold_bank *) * mca_cfg.banks
,
+ bp = k
calloc(mca_cfg.banks, sizeof(struct threshold_bank *)
,
GFP_KERNEL);
if (!bp)
return -ENOMEM;