summaryrefslogtreecommitdiffstats
path: root/Documentation/spi
diff options
context:
space:
mode:
authorRoel Kluin <roel.kluin@gmail.com>2009-09-22 16:43:41 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2009-09-23 07:39:28 -0700
commit912e837aef72a3dd263dafc3717d92bbc1211a53 (patch)
tree7872171305a3518b6536754be0d597885e3d2792 /Documentation/spi
parent54fdade1c3332391948ec43530c02c4794a38172 (diff)
downloadop-kernel-dev-912e837aef72a3dd263dafc3717d92bbc1211a53.zip
op-kernel-dev-912e837aef72a3dd263dafc3717d92bbc1211a53.tar.gz
dme1737: Keep index within pwm_config[]
The static code scanner "Parfait" reported this because pwm_config is only 3 bytes - pwm_config[3] is out of range. Since this code path is never called with ix == 3 (the device has no PWM4 output) this doesn't change anything in practice. But to encourage testing with Parfait, lets make the warning go away... Signed-off-by: Roel Kluin <roel.kluin@gmail.com> Acked-by: Jean Delvare <khali@linux-fr.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'Documentation/spi')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud