OpenCloudOS-Kernel/arch/arm/mach-vexpress
Alex Shi e160cc1768 vexpress/spc: fix a build warning on array bounds
With ARCH_VEXPRESS_SPC option, kernel build has the following
warning:

arch/arm/mach-vexpress/spc.c: In function ‘ve_spc_clk_init’:
arch/arm/mach-vexpress/spc.c:431:38: warning: array subscript is below array bounds [-Warray-bounds]
  struct ve_spc_opp *opps = info->opps[cluster];
                                      ^
since 'cluster' maybe '-1' in UP system. This patch does a active
checking to fix this issue.

Signed-off-by: Alex Shi <alex.shi@linaro.org>
Acked-by: Pawel Moll <pawel.moll@arm.com>
Acked-by: Sudeep Holla <sudeep.holla@arm.com>
Signed-off-by: Olof Johansson <olof@lixom.net>
2014-08-31 10:22:10 -07:00
..
include/mach ARM: vexpress: Start using new Versatile Express infrastructure 2012-11-05 17:09:51 +00:00
Kconfig ARM: SoC cleanups for 3.17 2014-08-08 11:00:26 -07:00
Makefile ARM: 7962/2: Make all mcpm functions notrace 2014-02-18 19:39:33 +00:00
core.h ARM: vexpress: Simplify SMP operations for DT-powered system 2014-05-15 17:02:21 +01:00
ct-ca9x4.c video: move Versatile CLCD helpers 2014-06-27 10:15:22 +02:00
dcscb.c arm/mach-vexpress: array accessed out of bounds 2014-04-24 11:41:12 +01:00
dcscb_setup.S ARM: vexpress/dcscb: handle platform coherency exit/setup and CCI 2013-05-29 15:50:35 -04:00
hotplug.c ARM: cpu hotplug: remove majority of cache flushing from platforms 2013-04-18 20:08:04 +01:00
platsmp.c ARM: vexpress: Simplify SMP operations for DT-powered system 2014-05-15 17:02:21 +01:00
spc.c vexpress/spc: fix a build warning on array bounds 2014-08-31 10:22:10 -07:00
spc.h ARM: vexpress/TC2: Implement MCPM power_down_finish() 2013-11-25 14:12:14 -08:00
tc2_pm.c ARM: make it easier to check the CPU part number correctly 2014-07-18 12:29:02 +01:00
v2m.c Merge branch 'for-linus' of git://ftp.arm.linux.org.uk/~rmk/linux-arm into next 2014-06-05 15:57:04 -07:00