git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
V4L/DVB (12440): Use kzalloc for frontend states to have struct dvb_frontend properly
[pandora-kernel.git]
/
drivers
/
media
/
dvb
/
frontends
/
tda10048.c
diff --git
a/drivers/media/dvb/frontends/tda10048.c
b/drivers/media/dvb/frontends/tda10048.c
index
cc8862c
..
4e2a7c8
100644
(file)
--- a/
drivers/media/dvb/frontends/tda10048.c
+++ b/
drivers/media/dvb/frontends/tda10048.c
@@
-1095,7
+1095,7
@@
struct dvb_frontend *tda10048_attach(const struct tda10048_config *config,
dprintk(1, "%s()\n", __func__);
/* allocate memory for the internal state */
- state = k
m
alloc(sizeof(struct tda10048_state), GFP_KERNEL);
+ state = k
z
alloc(sizeof(struct tda10048_state), GFP_KERNEL);
if (state == NULL)
goto error;