Re: parisc: kernel/cpu.c:3110:9: error: expected identifier or '(' before '=' token

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



[add Alexey]


On 2/23/24 01:18, Naresh Kamboju wrote:
> [ Please ignore this email if it is already reported ]
> 
> The parisc builds failed on Linux next tag next-20240220..next-20240223.
> First build failures noticed on tag next-20240220.
> 
> parisc:
>     defconfig: gcc-11 - Failed
>     allnoconfig: gcc-11 - Failed
>     tinyconfig: gcc-11 - Failed
> 
> kernel/cpu.c:3110:9: error: expected identifier or '(' before '=' token
>  3110 |         = {CPU_BITS_ALL};
>       |         ^

commit da92df490eea
Author: Alexey Dobriyan <adobriyan@xxxxxxxxx>
Date:   Mon Feb 5 13:01:19 2024 +0300

    cpu: Mark cpu_possible_mask as __ro_after_init

inserts a ';' here:

 #ifdef CONFIG_INIT_ALL_POSSIBLE
-struct cpumask __cpu_possible_mask __read_mostly
+struct cpumask __cpu_possible_mask __ro_after_init;
        = {CPU_BITS_ALL};
 #else


> make[4]: *** [scripts/Makefile.build:244: kernel/cpu.o] Error 1
> 
> Reported-by: Linux Kernel Functional Testing <lkft@xxxxxxxxxx>
> 
> Steps to reproduce:
>  $ tuxmake --runtime podman --target-arch parisc --toolchain gcc-11
> --kconfig defconfig
> 
> Links:
>  - https://qa-reports.linaro.org/lkft/linux-next-master/build/next-20240223/testrun/22811934/suite/build/test/gcc-11-defconfig/log
>  - https://qa-reports.linaro.org/lkft/linux-next-master/build/next-20240223/testrun/22811934/suite/build/test/gcc-11-defconfig/details/
>  - https://storage.tuxsuite.com/public/linaro/lkft/builds/2cl8psPmccoERtfX4SrhL0yxD0F/
> 
> --
> Linaro LKFT
> https://lkft.linaro.org
> 

-- 
#Randy




[Index of Archives]     [Linux SoC]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux