linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* next-20250911: mm/slub.c:3960:27: error: a function declaration without a prototype is deprecated in all versions of C void flush_all_rcu_sheaves()
@ 2025-09-11  8:37 Naresh Kamboju
  2025-09-11  8:45 ` Vlastimil Babka
  0 siblings, 1 reply; 2+ messages in thread
From: Naresh Kamboju @ 2025-09-11  8:37 UTC (permalink / raw)
  To: open list, lkft-triage, Linux Regressions, clang-built-linux, linux-mm
  Cc: Andrew Morton, Nathan Chancellor, Ben Copeland, Arnd Bergmann,
	Dan Carpenter, Anders Roxell

The following build warnings / errors noticed on aram arm64 defconfig
with clang-20 and clang-nightly toolchains on the Linux next-20250911 tag.

Regression Analysis:
- New regression? yes
- Reproducibility? yes

Build regression: next-20250911: mm/slub.c:3960:27: error: a function
declaration without a prototype is deprecated in all versions of C
void flush_all_rcu_sheaves()

Reported-by: Linux Kernel Functional Testing <lkft@linaro.org>

## Build log
mm/slub.c:3960:27: error: a function declaration without a prototype
is deprecated in all versions of C [-Werror,-Wstrict-prototypes]
 3960 | void flush_all_rcu_sheaves()
      |                           ^
      |                            void
1 error generated.

## Source
* Kernel version: 6.17.0-rc5
* Git tree: https://kernel.googlesource.com/pub/scm/linux/kernel/git/next/linux-next.git
* Git describe: 6.17.0-rc5-next-20250911
* Git commit: 8f21d9da46702c4d6951ba60ca8a05f42870fe8f
* Architectures: arm, arm64, i386,  mips, powerpc, riscv, s390
* Toolchains: clang-20 and clang-nightly
* clang: Debian clang version 20.1.8
(++20250809043815+87f0227cb601-1~exp1~20250809163919.3)
* Kconfigs: defconfig+lkftconfigs

## Build
* Build log: https://qa-reports.linaro.org/api/testruns/29853978/log_file/
* Build details:
https://regressions.linaro.org/lkft/linux-next-master/next-20250911/build/clang-20-defconfig/
* Build plan: https://tuxapi.tuxsuite.com/v1/groups/linaro/projects/lkft/builds/32XlFDtH7RdddaA6FHskupLDDSO
* Build link: https://storage.tuxsuite.com/public/linaro/lkft/builds/32XlFDtH7RdddaA6FHskupLDDSO/
* Kernel config:
https://storage.tuxsuite.com/public/linaro/lkft/builds/32XlFDtH7RdddaA6FHskupLDDSO/config
* Build log details:
https://regressions.linaro.org/lkft/linux-next-master/next-20250911/log-parser-build-clang/clang-compiler-mm_slub_c-error-a-function-declaration-without-a-prototype-is-deprecated-in-all-versions-of-c/

--
Linaro LKFT


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: next-20250911: mm/slub.c:3960:27: error: a function declaration without a prototype is deprecated in all versions of C void flush_all_rcu_sheaves()
  2025-09-11  8:37 next-20250911: mm/slub.c:3960:27: error: a function declaration without a prototype is deprecated in all versions of C void flush_all_rcu_sheaves() Naresh Kamboju
@ 2025-09-11  8:45 ` Vlastimil Babka
  0 siblings, 0 replies; 2+ messages in thread
From: Vlastimil Babka @ 2025-09-11  8:45 UTC (permalink / raw)
  To: Naresh Kamboju, open list, lkft-triage, Linux Regressions,
	clang-built-linux, linux-mm
  Cc: Andrew Morton, Nathan Chancellor, Ben Copeland, Arnd Bergmann,
	Dan Carpenter, Anders Roxell

On 9/11/25 10:37, Naresh Kamboju wrote:
> The following build warnings / errors noticed on aram arm64 defconfig
> with clang-20 and clang-nightly toolchains on the Linux next-20250911 tag.
> 
> Regression Analysis:
> - New regression? yes
> - Reproducibility? yes
> 
> Build regression: next-20250911: mm/slub.c:3960:27: error: a function
> declaration without a prototype is deprecated in all versions of C
> void flush_all_rcu_sheaves()
> 
> Reported-by: Linux Kernel Functional Testing <lkft@linaro.org>
> 
> ## Build log
> mm/slub.c:3960:27: error: a function declaration without a prototype
> is deprecated in all versions of C [-Werror,-Wstrict-prototypes]
>  3960 | void flush_all_rcu_sheaves()
>       |                           ^
>       |                            void
> 1 error generated.

Thanks, fixed already for tomorrow's -next
> ## Source
> * Kernel version: 6.17.0-rc5
> * Git tree: https://kernel.googlesource.com/pub/scm/linux/kernel/git/next/linux-next.git
> * Git describe: 6.17.0-rc5-next-20250911
> * Git commit: 8f21d9da46702c4d6951ba60ca8a05f42870fe8f
> * Architectures: arm, arm64, i386,  mips, powerpc, riscv, s390
> * Toolchains: clang-20 and clang-nightly
> * clang: Debian clang version 20.1.8
> (++20250809043815+87f0227cb601-1~exp1~20250809163919.3)
> * Kconfigs: defconfig+lkftconfigs
> 
> ## Build
> * Build log: https://qa-reports.linaro.org/api/testruns/29853978/log_file/
> * Build details:
> https://regressions.linaro.org/lkft/linux-next-master/next-20250911/build/clang-20-defconfig/
> * Build plan: https://tuxapi.tuxsuite.com/v1/groups/linaro/projects/lkft/builds/32XlFDtH7RdddaA6FHskupLDDSO
> * Build link: https://storage.tuxsuite.com/public/linaro/lkft/builds/32XlFDtH7RdddaA6FHskupLDDSO/
> * Kernel config:
> https://storage.tuxsuite.com/public/linaro/lkft/builds/32XlFDtH7RdddaA6FHskupLDDSO/config
> * Build log details:
> https://regressions.linaro.org/lkft/linux-next-master/next-20250911/log-parser-build-clang/clang-compiler-mm_slub_c-error-a-function-declaration-without-a-prototype-is-deprecated-in-all-versions-of-c/
> 
> --
> Linaro LKFT
> 



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2025-09-11  8:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-09-11  8:37 next-20250911: mm/slub.c:3960:27: error: a function declaration without a prototype is deprecated in all versions of C void flush_all_rcu_sheaves() Naresh Kamboju
2025-09-11  8:45 ` Vlastimil Babka

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox