diff options
author | Oldrich Jedlicka <oldium.pro@seznam.cz> | 2008-11-13 20:03:00 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2008-12-29 14:53:36 -0500 |
commit | bdf398eb09e3f2e1fd1acb50960ce93fe380e847 (patch) | |
tree | 748a06063ae8489d9d10843f166568893e5fd1ad /drivers/media/video/saa7134 | |
parent | 0537156f6ca44193f70e91b636a25724aaa1e53b (diff) |
V4L/DVB (9667): Fixed typo in sizeof() causing NULL pointer OOPS
Signed-off-by: Oldřich Jedlička <oldium.pro@seznam.cz>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/saa7134')
-rw-r--r-- | drivers/media/video/saa7134/saa7134-cards.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/saa7134/saa7134-cards.c b/drivers/media/video/saa7134/saa7134-cards.c index ddc5402c5fb0..863522899e85 100644 --- a/drivers/media/video/saa7134/saa7134-cards.c +++ b/drivers/media/video/saa7134/saa7134-cards.c | |||
@@ -6048,7 +6048,7 @@ static void saa7134_tuner_setup(struct saa7134_dev *dev) | |||
6048 | struct v4l2_priv_tun_config xc2028_cfg; | 6048 | struct v4l2_priv_tun_config xc2028_cfg; |
6049 | struct xc2028_ctrl ctl; | 6049 | struct xc2028_ctrl ctl; |
6050 | 6050 | ||
6051 | memset(&xc2028_cfg, 0, sizeof(ctl)); | 6051 | memset(&xc2028_cfg, 0, sizeof(xc2028_cfg)); |
6052 | memset(&ctl, 0, sizeof(ctl)); | 6052 | memset(&ctl, 0, sizeof(ctl)); |
6053 | 6053 | ||
6054 | ctl.fname = XC2028_DEFAULT_FIRMWARE; | 6054 | ctl.fname = XC2028_DEFAULT_FIRMWARE; |