signal/sh: Ensure si_signo is initialized in do_divide_error
authorEric W. Biederman <ebiederm@xmission.com>
Mon, 24 Jul 2017 22:30:30 +0000 (17:30 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 16 Feb 2018 19:23:06 +0000 (20:23 +0100)
commit16256f2658806cbd84d649ac700e673b16a06168
tree8491691637d3f9b26e83f58696ac4ffd799f5e76
parent34ad59099ead42461b968e36f939020821e82cef
signal/sh: Ensure si_signo is initialized in do_divide_error

commit 0e88bb002a9b2ee8cc3cc9478ce2dc126f849696 upstream.

Set si_signo.

Cc: Yoshinori Sato <ysato@users.sourceforge.jp>
Cc: Rich Felker <dalias@libc.org>
Cc: Paul Mundt <lethal@linux-sh.org>
Cc: linux-sh@vger.kernel.org
Fixes: 0983b31849bb ("sh: Wire up division and address error exceptions on SH-2A.")
Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/sh/kernel/traps_32.c