From: Roel Kluin Date: Tue, 22 Sep 2009 23:43:41 +0000 (-0700) Subject: dme1737: Keep index within pwm_config[] X-Git-Tag: v2.6.32-rc1~398 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=912e837aef72a3dd263dafc3717d92bbc1211a53;p=pandora-kernel.git 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 Acked-by: Jean Delvare Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed