[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAHk-=wiQgK1ciFurQcHib8gF5oD8ZrWOaCPLDNLn=7ZvkF4=mQ@mail.gmail.com>
Date: Mon, 7 Apr 2025 13:25:04 -0700
From: Linus Torvalds <torvalds@...ux-foundation.org>
To: Nathan Chancellor <nathan@...nel.org>
Cc: Kees Cook <kees@...nel.org>, linux-kernel@...r.kernel.org,
Andrey Konovalov <andreyknvl@...il.com>, Andy Shevchenko <andy@...nel.org>,
Catalin Marinas <catalin.marinas@....com>, Peter Collingbourne <pcc@...gle.com>,
Vincenzo Frascino <vincenzo.frascino@....com>, Will Deacon <will@...nel.org>, llvm@...ts.linux.dev
Subject: Re: [GIT PULL] string fixes for v6.15-rc1
On Mon, 7 Apr 2025 at 12:25, Nathan Chancellor <nathan@...nel.org> wrote:
>
> or if you do want this for GCC too, unconditionally adding it should be
> fine too.
I think if unconditionally works, that's probably the best option
simply because it's the simplest option.
But I don't see 'wcslen' in the gcc docs, which was why I was assuming
it wanted that "check if it works" thing with "$(call cc-option,...)"
I don't think we need to call out the particular compiler, since the
argument against using it is not compiler-specific per se.
Linus
Powered by blists - more mailing lists