diff options
author | Michael Ellerman <mpe@ellerman.id.au> | 2017-09-02 07:48:17 +1000 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2017-09-02 08:04:26 +1000 |
commit | 3b79b26101936bbdb7a5c69161c69d65a1108fb0 (patch) | |
tree | 94a143fece324597a4e1cf5da1a3bafe994d417b /tools/perf/scripts/python | |
parent | fdbb9457b4e1d3a6deb3325bba7616334f371be7 (diff) |
powerpc/sstep: Avoid used uninitialized error
Older compilers think val may be used uninitialized:
arch/powerpc/lib/sstep.c: In function 'emulate_loadstore':
arch/powerpc/lib/sstep.c:2758:23: error: 'val' may be used uninitialized in this function
We know better, but initialise val to 0 to avoid breaking the build.
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions