git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[PATCH] trivial __user cleanup (video1394)
[pandora-kernel.git]
/
drivers
/
input
/
joystick
/
a3d.c
diff --git
a/drivers/input/joystick/a3d.c
b/drivers/input/joystick/a3d.c
index
bf34f75
..
bf65430
100644
(file)
--- a/
drivers/input/joystick/a3d.c
+++ b/
drivers/input/joystick/a3d.c
@@
-269,7
+269,7
@@
static int a3d_connect(struct gameport *gameport, struct gameport_driver *drv)
int i;
int err;
- if (!(a3d = k
calloc(1,
sizeof(struct a3d), GFP_KERNEL)))
+ if (!(a3d = k
zalloc(
sizeof(struct a3d), GFP_KERNEL)))
return -ENOMEM;
a3d->gameport = gameport;