]> 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)
commit3b4c759a96f26e78ec2a4178f2f95a78eaadddd3
treeb0142c5c0f178b935a8a62ee1d93ad00abe39600
parent676ab123cfd7ee4eb3abdb46cb5fc77257b83142
[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