Re: [PATCH 1/1] ARM: OMAP: Kill warning in CPUIDLE code with !CONFIG_SMP

From: Tony Lindgren
Date: Fri Feb 21 2014 - 18:17:43 EST


* Mugunthan V N <mugunthanvnm@xxxxxx> [140216 23:56]:
> From: Santosh Shilimkar <santosh.shilimkar@xxxxxx>
>
> 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@xxxxxx>
> Signed-off-by: Santosh Shilimkar <santosh.shilimkar@xxxxxx>
> Signed-off-by: Mugunthan V N <mugunthanvnm@xxxxxx>

Thanks applying into omap-for-v3.14/fixes.

Tony
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/