Re: fs/file_attr.c:263:9: error: unexpected token, expected comma
From: Al Viro
Date: Fri Jan 02 2026 - 04:30:17 EST
On Thu, Jan 01, 2026 at 09:41:43AM +0800, kernel test robot wrote:
> tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
> head: 9528d5c091c59b408a754a1823cf0942069867cc
> commit: 2f952c9e8fe13c6ee15c05189f1f87c1a70b866c fs: split fileattr related helpers into separate file
> date: 6 months ago
> config: mips-randconfig-r051-20251231 (https://download.01.org/0day-ci/archive/20260101/202601010950.QjCTROwO-lkp@xxxxxxxxx/config)
> compiler: clang version 22.0.0git (https://github.com/llvm/llvm-project f43d6834093b19baf79beda8c0337ab020ac5f17)
> reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260101/202601010950.QjCTROwO-lkp@xxxxxxxxx/reproduce)
>
> If you fix the issue in a separate patch/commit (i.e. not just a new version of
> the same patch/commit), kindly add following tags
> | Reported-by: kernel test robot <lkp@xxxxxxxxx>
> | Closes: https://lore.kernel.org/oe-kbuild-all/202601010950.QjCTROwO-lkp@xxxxxxxxx/
It has nothing whatsoever to do with the commit in question; I would be
very surprised if the same build was not full of identical errors all
over the place, wherever we happen to use put_user() or get_user().
Basically, you've stumbled across a mips config that breaks something
in their asm/uaccess.h; apparently 32bit with EVA, bringing the macro
horrors from asm-eva.h into play.