[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <e8409fc18e39aeee3486c334d903b8a3e6ccaafa.camel@perches.com>
Date: Thu, 27 Aug 2020 08:56:48 -0700
From: Joe Perches <joe@...ches.com>
To: Kees Cook <keescook@...omium.org>
Cc: Linus Torvalds <torvalds@...ux-foundation.org>,
Jonathan Corbet <corbet@....net>,
Nick Desaulniers <ndesaulniers@...gle.com>,
LKML <linux-kernel@...r.kernel.org>,
linux-doc <linux-doc@...r.kernel.org>
Subject: Re: [PATCH] deprecated.rst: Remove now removed uninitialized_var
On Thu, 2020-08-27 at 07:58 -0700, Kees Cook wrote:
> On Wed, Aug 26, 2020 at 08:12:01PM -0700, Joe Perches wrote:
> > It's now gone from the kernel so remove it from the deprecated API text.
> >
> > Signed-off-by: Joe Perches <joe@...ches.com>
>
> Oh! Right, thank you. I forgot to rewrite this. I'd like to keep the
> details about why "tricking the compiler to be quiet" should not be
> done.
Probably better in coding style.
> One of my fears about removing uninitialized_var() is that folks
> may start adding open-coded versions to silence warnings. I'd like to
> keep a section in deprecated.rst that describes the problem and why
> those kinds of work-arounds should not be used.
>
Powered by blists - more mailing lists