aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorMathieu Malaterre <malat@debian.org>2018-03-02 20:49:18 +0100
committerMichael Ellerman <mpe@ellerman.id.au>2018-03-13 15:50:40 +1100
commit4f1f40f7b2b4487f582ecafec64076e430c72b22 (patch)
tree64cff1f668ab26573dd9a72b97b3893b753df55f /tools/perf/scripts/python/export-to-sqlite.py
parentpowerpc: Add missing prototypes for ppc_select() & ppc_fadvise64_64() (diff)
downloadlinux-4f1f40f7b2b4487f582ecafec64076e430c72b22.tar.gz
linux-4f1f40f7b2b4487f582ecafec64076e430c72b22.zip
powerpc/prom: Remove warning on array size when empty
When neither CONFIG_ALTIVEC, nor CONFIG_VSX or CONFIG_PPC64 is defined, the array feature_properties is defined as an empty array, which in turn triggers the following warning (treated as error on W=1): arch/powerpc/kernel/prom.c: In function ‘check_cpu_feature_properties’: arch/powerpc/kernel/prom.c:298:16: error: comparison of unsigned expression < 0 is always false for (i = 0; i < ARRAY_SIZE(feature_properties); ++i, ++fp) { ^ Suggested-by: Michael Ellerman <mpe@ellerman.id.au> Signed-off-by: Mathieu Malaterre <malat@debian.org> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions