Re: [PATCH] deprecated.rst: Remove now removed uninitialized_var
From: Kees Cook
Date: Thu Aug 27 2020 - 10:58:36 EST
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@xxxxxxxxxxx>
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. 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.
--
Kees Cook