]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit59c64f5d3495cb3f102e956e925514c1543c7de2
tree4c7025a57124babc92d9916ad9f19b5976a1496a
parent77e0a4623a7dc6c49e4b731092b7a6d5605e640c
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