summaryrefslogtreecommitdiffstats
path: root/arch/m68k/mm/fault.c
diff options
context:
space:
mode:
authorIngo Molnar <mingo@kernel.org>2018-02-11 11:33:33 +0100
committerIngo Molnar <mingo@kernel.org>2018-02-11 11:33:33 +0100
commit7980033bea8a74692fdb987c44ec91b0be8e752b (patch)
tree02b57329465d397b3a20468a683e56d1cda88cf6 /arch/m68k/mm/fault.c
parentx86/cpufeature: Update _static_cpu_has() to use all named variables (diff)
parentMerge tag 'nfsd-4.16' of git://linux-nfs.org/~bfields/linux (diff)
downloadlinux-7980033bea8a74692fdb987c44ec91b0be8e752b.tar.xz
linux-7980033bea8a74692fdb987c44ec91b0be8e752b.zip
Merge branch 'linus' into x86/urgent, to pick up dependent commits
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'arch/m68k/mm/fault.c')
-rw-r--r--arch/m68k/mm/fault.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/m68k/mm/fault.c b/arch/m68k/mm/fault.c
index 127d7c1f2090..03253c4f8e6a 100644
--- a/arch/m68k/mm/fault.c
+++ b/arch/m68k/mm/fault.c
@@ -21,8 +21,9 @@ extern void die_if_kernel(char *, struct pt_regs *, long);
int send_fault_sig(struct pt_regs *regs)
{
- siginfo_t siginfo = { 0, 0, 0, };
+ siginfo_t siginfo;
+ clear_siginfo(&siginfo);
siginfo.si_signo = current->thread.signo;
siginfo.si_code = current->thread.code;
siginfo.si_addr = (void *)current->thread.faddr;