[PATCH] input: convert kcalloc to kzalloc
This patch converts kcalloc(1, ...) calls to use the new kzalloc() function. Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi> Cc: Vojtech Pavlik <vojtech@suse.cz> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
committed by
Linus Torvalds
parent
874ca6cd3f
commit
a97e148a8b
@ -212,7 +212,7 @@ static int interact_connect(struct gameport *gameport, struct gameport_driver *d
|
||||
int i, t;
|
||||
int err;
|
||||
|
||||
if (!(interact = kcalloc(1, sizeof(struct interact), GFP_KERNEL)))
|
||||
if (!(interact = kzalloc(sizeof(struct interact), GFP_KERNEL)))
|
||||
return -ENOMEM;
|
||||
|
||||
interact->gameport = gameport;
|
||||
|
Reference in New Issue
Block a user