public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Takashi Iwai <tiwai@suse.de>
To: Naresh Kamboju <naresh.kamboju@linaro.org>
Cc: open list <linux-kernel@vger.kernel.org>,
	lkft-triage@lists.linaro.org,
	Linux Regressions <regressions@lists.linux.dev>,
	linux-sound@vger.kernel.org, kunit-dev@googlegroups.com,
	clang-built-linux <llvm@lists.linux.dev>,
	Pei Xiao <xiaopei01@kylinos.cn>, Takashi Iwai <tiwai@suse.de>,
	Nathan Chancellor <nathan@kernel.org>,
	Anders Roxell <anders.roxell@linaro.org>,
	Dan Carpenter <dan.carpenter@linaro.org>,
	Arnd Bergmann <arnd@arndb.de>
Subject: Re: sound_kunit.c: error: address of array 'card->id' will always evaluate to 'true' [-Werror,-Wpointer-bool-conversion]
Date: Tue, 08 Apr 2025 14:38:52 +0200	[thread overview]
Message-ID: <87mscqhlpf.wl-tiwai@suse.de> (raw)
In-Reply-To: <CA+G9fYsNUbN0PsDQBqVAoUSjSXa5igOjntBFh_TF6m8A4FNDsw@mail.gmail.com>

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

      reply	other threads:[~2025-04-08 12:38 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87mscqhlpf.wl-tiwai@suse.de \
    --to=tiwai@suse.de \
    --cc=anders.roxell@linaro.org \
    --cc=arnd@arndb.de \
    --cc=dan.carpenter@linaro.org \
    --cc=kunit-dev@googlegroups.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-sound@vger.kernel.org \
    --cc=lkft-triage@lists.linaro.org \
    --cc=llvm@lists.linux.dev \
    --cc=naresh.kamboju@linaro.org \
    --cc=nathan@kernel.org \
    --cc=regressions@lists.linux.dev \
    --cc=xiaopei01@kylinos.cn \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox