parisc: Fix uninitialized variable usage in unwind.c
authorHelge Deller <deller@gmx.de>
Tue, 16 Oct 2018 06:21:48 +0000 (08:21 +0200)
committerHelge Deller <deller@gmx.de>
Tue, 16 Oct 2018 09:37:29 +0000 (11:37 +0200)
commitcf8afe5c53621eda385be961bc72329a2adcd767
tree4c7025a57124babc92d9916ad9f19b5976a1496a
parent57361846b52bc686112da6ca5368d11210796804
parisc: Fix uninitialized variable usage in unwind.c

As noticed by Dave Anglin, the last commit introduced a small bug where
the potentially uninitialized r struct is used instead of the regs
pointer as input for unwind_frame_init(). Fix it.

Signed-off-by: Helge Deller <deller@gmx.de>
Reported-by: John David Anglin <dave.anglin@bell.net>
arch/parisc/kernel/unwind.c