From: Marko Schluessler Date: Fri, 21 Sep 2007 21:13:30 +0000 (-0300) Subject: V4L/DVB (9389): Use kzalloc instead of kmalloc X-Git-Tag: firefly_0821_release~16456^2~554 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=a18d43156a09e57dada62b1c51f229a6d0da02d6;p=firefly-linux-kernel-4.4.55.git V4L/DVB (9389): Use kzalloc instead of kmalloc Signed-off-by: Marko Schluessler Signed-off-by: Manu Abraham Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/media/dvb/frontends/stb6100.c b/drivers/media/dvb/frontends/stb6100.c index eeed7b41acb3..234ca7344a16 100644 --- a/drivers/media/dvb/frontends/stb6100.c +++ b/drivers/media/dvb/frontends/stb6100.c @@ -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;