Re: kernel/sched/syscalls.c:979:8: error: unexpected token, expected comma

From: Ingo Molnar
Date: Thu Apr 10 2025 - 02:56:36 EST



* kernel test robot <lkp@xxxxxxxxx> wrote:

> Hi Ingo,
>
> FYI, the error/warning still remains.
>
> tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
> head: 0af2f6be1b4281385b618cb86ad946eded089ac8
> commit: 04746ed80bcf3130951ed4d5c1bc5b0bcabdde22 sched/syscalls: Split out kernel/sched/syscalls.c from kernel/sched/core.c
> date: 11 months ago
> config: mips-randconfig-r064-20250408 (https://download.01.org/0day-ci/archive/20250408/202504082254.7GLSWAbI-lkp@xxxxxxxxx/config)
> compiler: clang version 21.0.0git (https://github.com/llvm/llvm-project 92c93f5286b9ff33f27ff694d2dc33da1c07afdd)
> reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250408/202504082254.7GLSWAbI-lkp@xxxxxxxxx/reproduce)

I cannot reproduce this.

To test it, I did:

$ wget 'https://download.01.org/0day-ci/archive/20250408/202504082254.7GLSWAbI-lkp@xxxxxxxxx/config'
$ /bin/cp config .config
$ make -j102 CROSS_COMPILE=/home/mingo/gcc/cross/bin/mips64-linux- ARCH=mips kernel/sched/

CALL scripts/checksyscalls.sh
CC kernel/sched/core.o
CC kernel/sched/fair.o
CC kernel/sched/build_policy.o
CC kernel/sched/build_utility.o
AR kernel/sched/built-in.a

Note that the config was *very* old AFAICS, from v6.10 or so, and I
accepted all the default .config suggestions.

Compiler used is:

# CONFIG_CC_VERSION_TEXT="mips64-linux-gcc (GCC) 9.3.1 20200601"

Thanks,

Ingo