diff options
author | Mauro Carvalho Chehab <mchehab@infradead.org> | 2007-03-28 22:37:20 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2007-04-27 15:45:09 -0300 |
commit | 57747b7f2517524aed5f0c5b744badf9da94a91b (patch) | |
tree | 7dc1eae94ad03e49f1029427771d4fb5ad1969ae /kernel/rcupdate.c | |
parent | f423b9a86a6dd3d2bc08d78f4d21525a14c40a6b (diff) |
V4L/DVB (5476): Fix gpiomux array size
there were several "magic" for loops, addressing gpiomux array size (4).
Adrian Bunk showed that one of the loops were wrong, going from 0 to 4.
This patch provides the right fix for this trouble, by using ARRAY_SIZE
on all places where we have a for loop using gpiomux.
Thanks to: Adrian Bunk <bunk@stusta.de> for pointing me about this trouble.
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'kernel/rcupdate.c')
0 files changed, 0 insertions, 0 deletions