stable-rc: 5.10: arm64: ring_buffer.c:1479:21: error: implicit declaration of function 'try_cmpxchg'

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

 



The arm64 and arm builds are failing on stable-rc linux.5.10.y branch
due to following build warnings / errors.

Anders, build bisected and found first commit as,

first bad commit: [9bf29b51d2bc21abdb8bd36382c1c324a1c54ca7]
ring-buffer: Only update pages_touched when a new page is touched

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

Build log:
-----
kernel/trace/ring_buffer.c: In function 'rb_tail_page_update':
kernel/trace/ring_buffer.c:1479:21: error: implicit declaration of
function 'try_cmpxchg'; did you mean 'xa_cmpxchg'?
[-Werror=implicit-function-declaration]
 1479 |                 if (try_cmpxchg(&cpu_buffer->tail_page,
&tail_page, next_page))
      |                     ^~~~~~~~~~~
      |                     xa_cmpxchg
cc1: some warnings being treated as errors

Links:
 - https://storage.tuxsuite.com/public/linaro/lkft/builds/2fWFu97bCGW3ZYMbPsIpFyxEwBx/
 - https://storage.tuxsuite.com/public/linaro/lkft/builds/2fWFuBOMDouq6VfImqR2Iq30FQe/config
 - https://qa-reports.linaro.org/lkft/linux-stable-rc-linux-5.10.y/build/v5.10.215-73-g5feded50ee59/testrun/23639019/suite/build/test/gcc-12-lkftconfig-debug-kmemleak/details/
 - https://qa-reports.linaro.org/lkft/linux-stable-rc-linux-5.10.y/build/v5.10.215-73-g5feded50ee59/testrun/23639019/suite/build/test/gcc-12-lkftconfig-debug-kmemleak/history/

Meta data:
git_repo:
https://gitlab.com/Linaro/lkft/mirrors/stable/linux-stable-rc
git_sha :
5feded50ee597a37f4778545a879337c2f72490d
git_short_log :
5feded50ee59 ("Linux 5.10.216-rc1")
arch: arm64
toolchain: gcc-12

Steps to reproduce:
---
  - https://storage.tuxsuite.com/public/linaro/lkft/builds/2fWFuBOMDouq6VfImqR2Iq30FQe/tuxmake_reproducer.sh
--
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