stable.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* stable-rc: 5.10: arm64: ring_buffer.c:1479:21: error: implicit declaration of function 'try_cmpxchg'
@ 2024-04-25 12:39 Naresh Kamboju
  0 siblings, 0 replies; only message in thread
From: Naresh Kamboju @ 2024-04-25 12:39 UTC (permalink / raw)
  To: linux-stable, lkft-triage
  Cc: Greg Kroah-Hartman, Sasha Levin, Masami Hiramatsu,
	Steven Rostedt, Anders Roxell, Dan Carpenter, Arnd Bergmann

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@linaro.org>

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2024-04-25 12:39 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-04-25 12:39 stable-rc: 5.10: arm64: ring_buffer.c:1479:21: error: implicit declaration of function 'try_cmpxchg' Naresh Kamboju

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).