Re: [PATCH] [media] s5c73m3: Fix off-by-one valid range checking for fie-index

2013-04-30 Thread Andrzej Hajda
Hi Axel, Thanks for the fix. On 30.04.2013 06:42, Axel Lin wrote: Current code uses fie-index as array subscript, thus the valid value range is 0 ... ARRAY_SIZE(s5c73m3_intervals) - 1. Signed-off-by: Axel Lin axel@ingics.com Acked-by: Andrzej Hajda a.ha...@samsung.com ---

[PATCH] [media] s5c73m3: Fix off-by-one valid range checking for fie-index

2013-04-29 Thread Axel Lin
Current code uses fie-index as array subscript, thus the valid value range is 0 ... ARRAY_SIZE(s5c73m3_intervals) - 1. Signed-off-by: Axel Lin axel@ingics.com --- drivers/media/i2c/s5c73m3/s5c73m3-core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git