linux-next: build failure after merge of the vfs tree
Subsystems (3)
Hi all,
After merging the vfs tree, today's linux-next build (sparc defconfig) failed like this:
arch/sparc/kernel/ptrace_32.c: In function 'setregs_set':arch/sparc/kernel/ptrace_32.c:271:2: error: 'ret' undeclared (first use in this function); did you mean 'net'?
ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf,
^~~
net
Caused by commit
cf921bf15c62 ("sparc32: get rid of odd callers of copy_regset_from_user()")
I added this patch for today.
From: Stephen Rothwell <[email protected]>
Date: Mon, 27 Jul 2020 21:59:23 +1000
Subject: [PATCH] sparc32: declare ret
Signed-off-by Stephen Rothwell <[email protected]>
--- arch/sparc/kernel/ptrace_32.c | 1 + 1 file changed, 1 insertion(+)
arch/sparc/kernel/ptrace_32.c +1 -0
@@ -264,6 +264,7 @@ static int setregs_set(struct task_struct *target, {struct pt_regs *regs = target->thread.kregs;u32 v[4 ]; +int ret;if (target == current)flush_user_windows ();
Signature · 5 lines
2.27.0 -- Cheers, Stephen Rothwell