[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <87mscqhlpf.wl-tiwai@suse.de>
Date: Tue, 08 Apr 2025 14:38:52 +0200
From: Takashi Iwai <tiwai@...e.de>
To: Naresh Kamboju <naresh.kamboju@...aro.org>
Cc: open list <linux-kernel@...r.kernel.org>,
lkft-triage@...ts.linaro.org,
Linux Regressions <regressions@...ts.linux.dev>,
linux-sound@...r.kernel.org,
kunit-dev@...glegroups.com,
clang-built-linux <llvm@...ts.linux.dev>,
Pei Xiao <xiaopei01@...inos.cn>,
Takashi Iwai <tiwai@...e.de>,
Nathan Chancellor <nathan@...nel.org>,
Anders Roxell <anders.roxell@...aro.org>,
Dan Carpenter <dan.carpenter@...aro.org>,
Arnd Bergmann <arnd@...db.de>
Subject: Re: sound_kunit.c: error: address of array 'card->id' will always evaluate to 'true' [-Werror,-Wpointer-bool-conversion]
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@...aro.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
Powered by blists - more mailing lists