* Re: [RFC PATCH 03/13] usb: remove the usage of the list iterator after the loop
[not found] ` <CAHk-=wh97QY9fEQUK6zMVQwaQ_JWDvR=R+TxQ_0OYrMHQ+egvQ@mail.gmail.com>
@ 2022-02-24 16:04 ` Nathan Chancellor
0 siblings, 0 replies; only message in thread
From: Nathan Chancellor @ 2022-02-24 16:04 UTC (permalink / raw)
To: Linus Torvalds
Cc: Arnd Bergmann, Jakob, Linux Kernel Mailing List, linux-arch,
Greg Kroah-Hartman, Thomas Gleixner, Andy Shevchenko,
Andrew Morton, Kees Cook, Mike Rapoport, Gustavo A. R. Silva,
Brian Johannesmeyer, Cristiano Giuffrida, Bos, H.J., llvm
On Wed, Feb 23, 2022 at 01:53:39PM -0800, Linus Torvalds wrote:
> On Wed, Feb 23, 2022 at 1:46 PM Arnd Bergmann <arnd@arndb.de> wrote:
> >
> > > Ok, so we should be able to basically convert '--std=gnu89' into
> > > '--std=gnu11 -Wno-shift-negative-value' with no expected change of
> > > behavior.
> >
> > Yes, I think that is correct.
>
> Ok, somebody please remind me, and let's just try this early in the
> 5.18 merge window.
>
> Because at least for me, doing
>
> - -std=gnu89
> + -std=gnu11 -Wno-shift-negative-value
>
> for KBUILD_CFLAGS works fine both in my gcc and clang builds. But
> that's obviously just one version of each.
I ran that diff through my set of clang builds on
v5.17-rc5-21-g23d04328444a and only found one issue:
https://github.com/ClangBuiltLinux/linux/issues/1603
I think that should be fixed on the clang side. Once it is, I think we
could just disable that warning in those translation units for older
versions of clang to keep the status quo.
Cheers,
Nathan
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-02-24 16:04 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20220217184829.1991035-1-jakobkoschel@gmail.com>
[not found] ` <20220217184829.1991035-4-jakobkoschel@gmail.com>
[not found] ` <CAHk-=wg1RdFQ6OGb_H4ZJoUwEr-gk11QXeQx63n91m0tvVUdZw@mail.gmail.com>
[not found] ` <6DFD3D91-B82C-469C-8771-860C09BD8623@gmail.com>
[not found] ` <CAHk-=wiyCH7xeHcmiFJ-YgXUy2Jaj7pnkdKpcovt8fYbVFW3TA@mail.gmail.com>
[not found] ` <CAHk-=wgLe-OSLTEHm=V7eRG6Fcr0dpAM1ZRV1a=R_g6pBOr8Bg@mail.gmail.com>
[not found] ` <CAK8P3a0DOC3s7x380XR_kN8UYQvkRqvE5LkHQfK2-KzwhcYqQQ@mail.gmail.com>
[not found] ` <CAHk-=wicJ0VxEmnpb8=TJfkSDytFuf+dvQJj8kFWj0OF2FBZ9w@mail.gmail.com>
[not found] ` <CAK8P3a2b_RtXkhQ2pwqbZ1zz6QtjaWwD4em_MCF_wGXRwZirKA@mail.gmail.com>
[not found] ` <CAHk-=wh97QY9fEQUK6zMVQwaQ_JWDvR=R+TxQ_0OYrMHQ+egvQ@mail.gmail.com>
2022-02-24 16:04 ` [RFC PATCH 03/13] usb: remove the usage of the list iterator after the loop Nathan Chancellor
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox