Messages in this thread | | | From | Linus Torvalds <> | Date | Thu, 29 Jun 2023 20:43:58 -0700 | Subject | Re: linux-next: build failure after merge of the origin tree |
| |
On Thu, 29 Jun 2023 at 19:59, Stephen Rothwell <sfr@canb.auug.org.au> wrote: > > After merging the origin tree, today's linux-next build (sparc defconfig) > failed like this: > > /home/sfr/next/next/arch/sparc/mm/fault_32.c: In function 'force_user_fault': > /home/sfr/next/next/arch/sparc/mm/fault_32.c:315:49: error: 'regs' undeclared (first use in this function) > 315 | vma = lock_mm_and_find_vma(mm, address, regs);
Duh. Yeah, the register window faults don't pass the user register state pointer around, and as noted in commit a050ba1e7422 those left-over conversions were mostly done blind.
The fix is trivial - just pass in NULL for the regs pointer. It's not required.
Said fix pushed out. Thanks,
Linus
| |