public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* sound_kunit.c: error: address of array 'card->id' will always evaluate to 'true' [-Werror,-Wpointer-bool-conversion]
@ 2025-04-08 12:35 Naresh Kamboju
  2025-04-08 12:38 ` Takashi Iwai
  0 siblings, 1 reply; 2+ messages in thread
From: Naresh Kamboju @ 2025-04-08 12:35 UTC (permalink / raw)
  To: open list, lkft-triage, Linux Regressions, linux-sound, kunit-dev,
	clang-built-linux
  Cc: Pei Xiao, Takashi Iwai, Nathan Chancellor, Anders Roxell,
	Dan Carpenter, Arnd Bergmann

Regressions on x86_64 build allyesconfig with clang-20 failed on the
Linux next-20250408 tag.

First seen on the next-20250408.
Bad: next-20250408
Good: next-20250407

* x86, build
 - build/clang-20-allyesconfig

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

Boot regression: x86_64 allyesconfig address of array 'card->id' will
always evaluate to 'true'

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

## Boot log
sound/core/sound_kunit.c:271:31: error: address of array 'card->id'
will always evaluate to 'true' [-Werror,-Wpointer-bool-conversion]
  271 |         kunit_info(test, "%s", card->id ? card->id : "(null)");
      |                                ~~~~~~^~ ~


## Source
* Kernel version: 6.15.0-rc1
* Git tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
* Git sha: 7702d0130dc002bab2c3571ddb6ff68f82d99aea
* Git describe: next-20250408
* Project details:
https://qa-reports.linaro.org/lkft/linux-next-master/build/next-20250408/

## Test
* Test log: https://qa-reports.linaro.org/lkft/linux-next-master/build/next-20250408/testrun/27937063/suite/build/test/clang-20-allyesconfig/log
* Test details:
https://qa-reports.linaro.org/lkft/linux-next-master/build/next-20250408/testrun/27937063/suite/build/test/clang-20-allyesconfig/details/
* Test history:
https://qa-reports.linaro.org/lkft/linux-next-master/build/next-20250408/testrun/27937063/suite/build/test/clang-20-allyesconfig/history/
* Build link: https://storage.tuxsuite.com/public/linaro/lkft/builds/2vQpM7f8SQvntzGG0Tdgxj2amGb/
* Kernel config:
https://storage.tuxsuite.com/public/linaro/lkft/builds/2vQpM7f8SQvntzGG0Tdgxj2amGb/config
* compiler: clang Debian clang version 20.1.2
(++20250330123306+5ba194972878-1~exp1~20250330003423.94)

## Steps to reproduce
 - tuxmake --runtime podman --target-arch x86_64 --toolchain clang-20
--kconfig allyesconfig LLVM=1 LLVM_IAS=1

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

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

* Re: sound_kunit.c: error: address of array 'card->id' will always evaluate to 'true' [-Werror,-Wpointer-bool-conversion]
  2025-04-08 12:35 sound_kunit.c: error: address of array 'card->id' will always evaluate to 'true' [-Werror,-Wpointer-bool-conversion] Naresh Kamboju
@ 2025-04-08 12:38 ` Takashi Iwai
  0 siblings, 0 replies; 2+ messages in thread
From: Takashi Iwai @ 2025-04-08 12:38 UTC (permalink / raw)
  To: Naresh Kamboju
  Cc: open list, lkft-triage, Linux Regressions, linux-sound, kunit-dev,
	clang-built-linux, Pei Xiao, Takashi Iwai, Nathan Chancellor,
	Anders Roxell, Dan Carpenter, Arnd Bergmann

On Tue, 08 Apr 2025 14:35:21 +0200,
Naresh Kamboju wrote:
> 
> Regressions on x86_64 build allyesconfig with clang-20 failed on the
> Linux next-20250408 tag.
> 
> First seen on the next-20250408.
> Bad: next-20250408
> Good: next-20250407
> 
> * x86, build
>  - build/clang-20-allyesconfig
> 
> Regression Analysis:
> - New regression? Yes
> - Reproducibility? Yes
> 
> Boot regression: x86_64 allyesconfig address of array 'card->id' will
> always evaluate to 'true'
> 
> Reported-by: Linux Kernel Functional Testing <lkft@linaro.org>
> 
> ## Boot log
> sound/core/sound_kunit.c:271:31: error: address of array 'card->id'
> will always evaluate to 'true' [-Werror,-Wpointer-bool-conversion]
>   271 |         kunit_info(test, "%s", card->id ? card->id : "(null)");
>       |                                ~~~~~~^~ ~
> 
> 
> ## Source
> * Kernel version: 6.15.0-rc1
> * Git tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
> * Git sha: 7702d0130dc002bab2c3571ddb6ff68f82d99aea
> * Git describe: next-20250408
> * Project details:
> https://qa-reports.linaro.org/lkft/linux-next-master/build/next-20250408/
> 
> ## Test
> * Test log: https://qa-reports.linaro.org/lkft/linux-next-master/build/next-20250408/testrun/27937063/suite/build/test/clang-20-allyesconfig/log
> * Test details:
> https://qa-reports.linaro.org/lkft/linux-next-master/build/next-20250408/testrun/27937063/suite/build/test/clang-20-allyesconfig/details/
> * Test history:
> https://qa-reports.linaro.org/lkft/linux-next-master/build/next-20250408/testrun/27937063/suite/build/test/clang-20-allyesconfig/history/
> * Build link: https://storage.tuxsuite.com/public/linaro/lkft/builds/2vQpM7f8SQvntzGG0Tdgxj2amGb/
> * Kernel config:
> https://storage.tuxsuite.com/public/linaro/lkft/builds/2vQpM7f8SQvntzGG0Tdgxj2amGb/config
> * compiler: clang Debian clang version 20.1.2
> (++20250330123306+5ba194972878-1~exp1~20250330003423.94)
> 
> ## Steps to reproduce
>  - tuxmake --runtime podman --target-arch x86_64 --toolchain clang-20
> --kconfig allyesconfig LLVM=1 LLVM_IAS=1

The relevant patch was already dropped.


thanks,

Takashi

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

end of thread, other threads:[~2025-04-08 12:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-04-08 12:35 sound_kunit.c: error: address of array 'card->id' will always evaluate to 'true' [-Werror,-Wpointer-bool-conversion] Naresh Kamboju
2025-04-08 12:38 ` Takashi Iwai

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