projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Pull altix-fpga-reset into release branch
[firefly-linux-kernel-4.4.55.git]
/
arch
/
ia64
/
sn
/
kernel
/
tiocx.c
diff --git
a/arch/ia64/sn/kernel/tiocx.c
b/arch/ia64/sn/kernel/tiocx.c
index d8664715764ba5912c1523f5ec2b0a77815ec301..e0819ec53116bfc477edd4e3ce46f4b2629415da 100644
(file)
--- a/
arch/ia64/sn/kernel/tiocx.c
+++ b/
arch/ia64/sn/kernel/tiocx.c
@@
-192,7
+192,7
@@
cx_device_register(nasid_t nasid, int part_num, int mfg_num,
{
struct cx_dev *cx_dev;
- cx_dev = k
calloc(1,
sizeof(struct cx_dev), GFP_KERNEL);
+ cx_dev = k
zalloc(
sizeof(struct cx_dev), GFP_KERNEL);
DBG("cx_dev= 0x%p\n", cx_dev);
if (cx_dev == NULL)
return -ENOMEM;