Commit a18d4315 authored by Marko Schluessler's avatar Marko Schluessler Committed by Mauro Carvalho Chehab

V4L/DVB (9389): Use kzalloc instead of kmalloc

Signed-off-by: default avatarMarko Schluessler <marco@lordzodiac.de>
Signed-off-by: default avatarManu Abraham <manu@linuxtv.org>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent 3e3263e6
......@@ -527,7 +527,7 @@ struct dvb_frontend *stb6100_attach(struct dvb_frontend *fe,
{
struct stb6100_state *state = NULL;
state = kmalloc(sizeof (struct stb6100_state), GFP_KERNEL);
state = kzalloc(sizeof (struct stb6100_state), GFP_KERNEL);
if (state == NULL)
goto error;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment