Building the Linux kernel with Clang and LLVM
 help / color / mirror / Atom feed
From: Armin Wolf <W_Armin@gmx.de>
To: Nathan Chancellor <nathan@kernel.org>
Cc: kernel test robot <lkp@intel.com>,
	ilpo.jarvinen@linux.intel.com, hdegoede@redhat.com,
	chumuzero@gmail.com, corbet@lwn.net, cs@tuxedo.de,
	wse@tuxedocomputers.com, ggo@tuxedocomputers.com,
	llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev,
	linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org,
	platform-driver-x86@vger.kernel.org, rdunlap@infradead.org,
	alok.a.tiwari@oracle.com, linux-leds@vger.kernel.org,
	lee@kernel.org, pobrn@protonmail.com
Subject: Re: [PATCH v4 1/2] platform/x86: Add Uniwill laptop driver
Date: Fri, 17 Oct 2025 19:19:50 +0200	[thread overview]
Message-ID: <9e63e9de-b9af-478d-90ad-d7fca59aaea8@gmx.de> (raw)
In-Reply-To: <20251006190819.GA2406882@ax162>

Am 06.10.25 um 21:08 schrieb Nathan Chancellor:

> On Sun, Oct 05, 2025 at 08:06:57PM +0200, Armin Wolf wrote:
>> Am 03.10.25 um 01:36 schrieb Nathan Chancellor:
>>
>>> Hi Armin,
>>>
>>> On Thu, Oct 02, 2025 at 08:41:19PM +0200, Armin Wolf wrote:
>>>> i think this is a problem inside the clang compiler. I did not encounter this warning when
>>>> build for x86-64 using gcc.
>>> Clang is actually saving you from yourself, it is a bug in GCC that it
>>> does not warn for this:
>>>
>>> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91951
>> Oh my, i didn't expect that. Thank you for explaining this issue to to me,
>> it seems that i still have much to learn.
> In your defense, it is quite a subtle interaction. It is probably worth
> throwing something in the documentation that explicitly calls this out,
> though I am not immediately sure of where...
>
> Cheers,
> Nathan
>
Maybe Documentation/core-api/cleanup.rst would be a suitable place for warning
people about this.

Thanks,
Armin Wolf


  reply	other threads:[~2025-10-17 17:20 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20250928013253.10869-2-W_Armin@gmx.de>
2025-09-28 20:42 ` [PATCH v4 1/2] platform/x86: Add Uniwill laptop driver kernel test robot
2025-10-02 18:41   ` Armin Wolf
2025-10-02 23:36     ` Nathan Chancellor
2025-10-05 18:06       ` Armin Wolf
2025-10-06 19:08         ` Nathan Chancellor
2025-10-17 17:19           ` Armin Wolf [this message]
2025-09-30  9:15 ` kernel test robot

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=9e63e9de-b9af-478d-90ad-d7fca59aaea8@gmx.de \
    --to=w_armin@gmx.de \
    --cc=alok.a.tiwari@oracle.com \
    --cc=chumuzero@gmail.com \
    --cc=corbet@lwn.net \
    --cc=cs@tuxedo.de \
    --cc=ggo@tuxedocomputers.com \
    --cc=hdegoede@redhat.com \
    --cc=ilpo.jarvinen@linux.intel.com \
    --cc=lee@kernel.org \
    --cc=linux-doc@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-leds@vger.kernel.org \
    --cc=lkp@intel.com \
    --cc=llvm@lists.linux.dev \
    --cc=nathan@kernel.org \
    --cc=oe-kbuild-all@lists.linux.dev \
    --cc=platform-driver-x86@vger.kernel.org \
    --cc=pobrn@protonmail.com \
    --cc=rdunlap@infradead.org \
    --cc=wse@tuxedocomputers.com \
    /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