Re: [PATCHv2] [media] af0933: Don't go past arrays

2014-11-05 Thread Mauro Carvalho Chehab
Em Wed, 05 Nov 2014 04:44:22 +0200 Antti Palosaari escreveu: > Acked-by: Antti Palosaari > Reviewed-by: Antti Palosaari > > anyhow, I think these branches could never taken in real life. Yes, probably this never happens with current code. > But as a > killing warnings and potential future c

Re: [PATCHv2] [media] af0933: Don't go past arrays

2014-11-04 Thread Antti Palosaari
Acked-by: Antti Palosaari Reviewed-by: Antti Palosaari anyhow, I think these branches could never taken in real life. But as a killing warnings and potential future changes I am pretty fine! regards Antti On 11/04/2014 10:35 PM, Mauro Carvalho Chehab wrote: Fixes the following sparse warni

[PATCHv2] [media] af0933: Don't go past arrays

2014-11-04 Thread Mauro Carvalho Chehab
Fixes the following sparse warnings: drivers/media/dvb-frontends/af9033.c:295 af9033_init() error: buffer overflow 'clock_adc_lut' 11 <= 11 drivers/media/dvb-frontends/af9033.c:300 af9033_init() error: buffer overflow 'clock_adc_lut' 11 <= 11 drivers/media/dvb-frontends/af