]> git.baikalelectronics.ru Git - kernel.git/commit
[media] horus3a: fix compiler warning
authorHans Verkuil <hverkuil@xs4all.nl>
Wed, 12 Aug 2015 07:14:28 +0000 (04:14 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Sun, 16 Aug 2015 16:30:25 +0000 (13:30 -0300)
commitfe110efbde3bf289bd779487b5ae25ea0dfab7f6
tree7698545d4f1e4b8290038b692681b9e0df8ff0c7
parentcccd42611ed49d15f6282d1541d69104d0f1f432
[media] horus3a: fix compiler warning

Shut up this compiler warning that I get during the daily build:

horus3a.c: In function 'horus3a_set_params':
horus3a.c:308:24: warning: 'rolloff' may be used uninitialized in this function [-Wmaybe-uninitialized]
     symbol_rate * (100 + rolloff), 200000) + 5;
                        ^

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/dvb-frontends/horus3a.c