diff --git a/arch/powerpc/lib/sstep.c b/arch/powerpc/lib/sstep.c index 06dd61d8d48b..fb9f58b868e7 100644 --- a/arch/powerpc/lib/sstep.c +++ b/arch/powerpc/lib/sstep.c @@ -2727,6 +2727,7 @@ int emulate_loadstore(struct pt_regs *regs, struct instruction_op *op) if (!address_ok(regs, ea, size)) return -EFAULT; err = 0; + val = 0; switch (size) { #ifdef __powerpc64__ case 1: