diff options
author | Santosh Shilimkar <santosh.shilimkar@ti.com> | 2014-02-17 11:52:55 +0400 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2014-02-22 03:16:56 +0400 |
commit | 865da01cd98d67518befe854a71e432d894db279 (patch) | |
tree | 04306ef855db921187d505359865904d834bc808 /arch/arm/mach-omap2/pdata-quirks.c | |
parent | deff82e688a278eb4b822fd616c05fc62907bb71 (diff) | |
download | linux-865da01cd98d67518befe854a71e432d894db279.tar.xz |
ARM: OMAP: Kill warning in CPUIDLE code with !CONFIG_SMP
for non SMP build, NR_CPUS is 1 and hence the code complains with below
warnings.
arch/arm/mach-omap2/cpuidle44xx.c:207:8: warning: array subscript is above array bounds [-Warray-bounds]
arch/arm/mach-omap2/cpuidle44xx.c:212:11: warning: array subscript is above array bounds [-Warray-bounds]
Kill it by making array size fixed.
Acked-by: Nishanth Menon <nm@ti.com>
Signed-off-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
Signed-off-by: Mugunthan V N <mugunthanvnm@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/mach-omap2/pdata-quirks.c')
0 files changed, 0 insertions, 0 deletions