diff options
author | Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> | 2012-02-13 12:35:22 +0400 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2012-02-22 02:45:33 +0400 |
commit | ebe8f7e59d0de3a97d264220deeffa90b8b14003 (patch) | |
tree | 3afb222ae5eec94ef79e9db8342a3a69c8c4f3c9 /arch/arm/mach-omap2/gpmc-smsc911x.c | |
parent | 856c5403462419eff9a7891efeee7bddc2a08af6 (diff) | |
download | linux-ebe8f7e59d0de3a97d264220deeffa90b8b14003.tar.xz |
OMAP3 EVM: remove out-of-bounds array access of gpio_leds
Otherwise we can get the following warning on some compilers:
arch/arm/mach-omap2/board-omap3evm.c:384:11:
warning: array subscript is above array bounds
The omap3evm BSP enables a GPIO LED on the twl4030 chip. However,
the static gpio_leds array doesn't have an entry for it. This is
most likely a copy-and-paste error, because it has been in there
since the first commit of the omap3evm BSP (53c5ec31).
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
[tony@atomide.com: updated comments with the warning]
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/mach-omap2/gpmc-smsc911x.c')
0 files changed, 0 insertions, 0 deletions