stable-rc: 5.10: arm: u64_stats_sync.h:136:2: error: implicit declaration of function 'preempt_disable_nested'

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

 



The arm and i386 builds failed with clang-17 and gcc-12 on stable-rc
linux.5.10.y
branch with linked config [1].

Reported-by: Linux Kernel Functional Testing <lkft@xxxxxxxxxx>

In file included from init/do_mounts.c:7:
In file included from include/linux/suspend.h:5:
In file included from include/linux/swap.h:9:
In file included from include/linux/memcontrol.h:13:
In file included from include/linux/cgroup.h:28:
In file included from include/linux/cgroup-defs.h:20:
include/linux/u64_stats_sync.h:136:2: error: implicit declaration of
function 'preempt_disable_nested'
[-Werror,-Wimplicit-function-declaration]
  136 |         preempt_disable_nested();
      |         ^
include/linux/u64_stats_sync.h:143:2: error: implicit declaration of
function 'preempt_enable_nested'
[-Werror,-Wimplicit-function-declaration]
  143 |         preempt_enable_nested();
      |         ^

Suspecting patch:
 u64_stats: fix u64_stats_init() for lockdep when used repeatedly in one file

    [ Upstream commit 38a15d0a50e0a43778561a5861403851f0b0194c ]

Steps to reproduce:
---
# tuxmake --runtime podman --target-arch arm --toolchain clang-17
--kconfig https://storage.tuxsuite.com/public/linaro/lkft/builds/2f8pIb4fiJ5NY0zeALMmUnqnaa2/config
LLVM=1 LLVM_IAS=0 dtbs dtbs-legacy headers kernel kselftest modules

Links:
 - [1] https://storage.tuxsuite.com/public/linaro/lkft/builds/2f8pIb4fiJ5NY0zeALMmUnqnaa2/config
 - https://storage.tuxsuite.com/public/linaro/lkft/builds/2f8pIb4fiJ5NY0zeALMmUnqnaa2/
 - https://qa-reports.linaro.org/lkft/linux-stable-rc-linux-5.10.y/build/v5.10.215-32-gd3c603576d90/testrun/23479825/suite/build/test/clang-17-lkftconfig-no-kselftest-frag/details/

--
Linaro LKFT
https://lkft.linaro.org




[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux