diff options
author | Manu Abraham <manu@linuxtv.org> | 2007-09-22 01:13:30 +0400 |
---|---|---|
committer | Manu Abraham <manu@linuxtv.org> | 2007-09-22 01:13:30 +0400 |
commit | b50df55828f89fa613610df7d7444ff20fbad8c7 (patch) | |
tree | 7e011dcd43d05150023546eec2cd48349c95340c /linux/drivers/media | |
parent | ac48a5323f19abd876980433fe5088fdfe1091ea (diff) | |
download | mediapointer-dvb-s2-b50df55828f89fa613610df7d7444ff20fbad8c7.tar.gz mediapointer-dvb-s2-b50df55828f89fa613610df7d7444ff20fbad8c7.tar.bz2 |
Use kzalloc instead of kmalloc
From: Marko Schluessler <marco@lordzodiac.de>
Signed-off-by: Marko Schluessler <marco@lordzodiac.de>
Signed-off-by: Manu Abraham <manu@linuxtv.org>
Diffstat (limited to 'linux/drivers/media')
-rw-r--r-- | linux/drivers/media/dvb/frontends/stb6100.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/drivers/media/dvb/frontends/stb6100.c b/linux/drivers/media/dvb/frontends/stb6100.c index c1dda87b8..bdc8a6ecc 100644 --- a/linux/drivers/media/dvb/frontends/stb6100.c +++ b/linux/drivers/media/dvb/frontends/stb6100.c @@ -534,7 +534,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; |