V4L/DVB (9043): S5H1420: Fix size of shadow-array to avoid overflow

The array size of 'shadow' still needs to be fixed in order to not overflow when reading register 0x00.

Thanks to Oliver Endriss for pointing that out.

Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>

authored by Patrick Boettcher and committed by Mauro Carvalho Chehab bda1cda5 c18c5ffe

+1 -1
+1 -1
drivers/media/dvb/frontends/s5h1420.c
··· 59 * it does not support repeated-start, workaround: write addr-1 60 * and then read 61 */ 62 - u8 shadow[255]; 63 }; 64 65 static u32 s5h1420_getsymbolrate(struct s5h1420_state* state);
··· 59 * it does not support repeated-start, workaround: write addr-1 60 * and then read 61 */ 62 + u8 shadow[256]; 63 }; 64 65 static u32 s5h1420_getsymbolrate(struct s5h1420_state* state);