diff options
author | Marko Schluessler <marco@lordzodiac.de> | 2007-09-21 17:13:30 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2008-12-29 14:53:15 -0500 |
commit | a18d43156a09e57dada62b1c51f229a6d0da02d6 (patch) | |
tree | 614a6457e10189466a880f3eeee93819c2df62b1 /drivers/media/dvb/frontends/stb6100.c | |
parent | 3e3263e6654ca22c317fb4d49eea3b940613b3ba (diff) |
V4L/DVB (9389): Use kzalloc instead of kmalloc
Signed-off-by: Marko Schluessler <marco@lordzodiac.de>
Signed-off-by: Manu Abraham <manu@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/dvb/frontends/stb6100.c')
-rw-r--r-- | drivers/media/dvb/frontends/stb6100.c | 2 |
1 files changed, 1 insertions, 1 deletions
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, | |||
527 | { | 527 | { |
528 | struct stb6100_state *state = NULL; | 528 | struct stb6100_state *state = NULL; |
529 | 529 | ||
530 | state = kmalloc(sizeof (struct stb6100_state), GFP_KERNEL); | 530 | state = kzalloc(sizeof (struct stb6100_state), GFP_KERNEL); |
531 | if (state == NULL) | 531 | if (state == NULL) |
532 | goto error; | 532 | goto error; |
533 | 533 | ||