From: Santosh Shilimkar Date: Mon, 17 Feb 2014 07:52:55 +0000 (+0530) Subject: ARM: OMAP: Kill warning in CPUIDLE code with !CONFIG_SMP X-Git-Tag: omap-for-v3.14/fixes-rc4~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=865da01cd98d67518befe854a71e432d894db279;p=pandora-kernel.git 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 Signed-off-by: Santosh Shilimkar Signed-off-by: Mugunthan V N Signed-off-by: Tony Lindgren --- Reading git-diff-tree failed