[PATCH] drivers: 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> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:

gecommit door
Linus Torvalds

bovenliggende
7b842b6e37
commit
82ca76b6b1
@@ -494,7 +494,7 @@ static int qs_port_start(struct ata_port *ap)
|
||||
if (rc)
|
||||
return rc;
|
||||
qs_enter_reg_mode(ap);
|
||||
pp = kcalloc(1, sizeof(*pp), GFP_KERNEL);
|
||||
pp = kzalloc(sizeof(*pp), GFP_KERNEL);
|
||||
if (!pp) {
|
||||
rc = -ENOMEM;
|
||||
goto err_out;
|
||||
|
Verwijs in nieuw issue
Block a user