Re: [PATCH] perf test 39 (Session topology) dumps core on s390
From: Ravi Bangoria
Date: Sun May 27 2018 - 23:50:09 EST
Hi Thomas,
On 05/24/2018 07:26 PM, Thomas Richter wrote:
> @@ -95,7 +98,7 @@ int test__session_topology(struct test *test __maybe_unused, int subtest __maybe
> {
> char path[PATH_MAX];
> struct cpu_map *map;
> - int ret = -1;
> + int ret;
This is failing for me:
tests/topology.c: In function âtest__session_topologyâ:
tests/topology.c:101:6: error: âretâ may be used uninitialized in this function [-Werror=maybe-uninitialized]
int ret;
^
cc1: all warnings being treated as errors
CC util/intlist.o
mv: cannot stat 'tests/.topology.o.tmp': No such file or directory
/home/ravi/Workspace/linux/tools/build/Makefile.build:96: recipe for target 'tests/topology.o' failed
make[4]: *** [tests/topology.o] Error 1
make[4]: *** Waiting for unfinished jobs....
Thanks,
Ravi