]> git.baikalelectronics.ru Git - kernel.git/commit
[media] cx24110: Fix a spatch warning
authorMauro Carvalho Chehab <mchehab@osg.samsung.com>
Wed, 5 Nov 2014 11:56:12 +0000 (09:56 -0200)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Wed, 5 Nov 2014 11:56:12 +0000 (09:56 -0200)
commit3398081dab0b14715560bfd035b04456de508c7c
treeb0142c5c0f178b935a8a62ee1d93ad00abe39600
parentabf7566b4756c1ba6ea9de265ce70689c10bc798
[media] cx24110: Fix a spatch warning

This is actually a false positive:
drivers/media/dvb-frontends/cx24110.c:210 cx24110_set_fec() error: buffer overflow 'rate' 7 <= 8

But fixing it is easy: just ensure that the table size will be
limited to FEC_AUTO.

While here, fix spacing on the affected lines.

Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/dvb-frontends/cx24110.c