Re: [PATCH] docs: deprecated.rst: Add BUG()-family

From: Jonathan Corbet
Date: Fri Mar 20 2020 - 19:26:31 EST


On Sat, 14 Mar 2020 15:29:50 -0700
Kees Cook <keescook@xxxxxxxxxxxx> wrote:

> Linus continues to remind[1] people to stop using the BUG()-family of
> functions. We should have this better documented (even if checkpatch.pl
> has been warning[2] since 2015), so add more details to deprecated.rst,
> as a distinct place to point people to for guidance.
>
> [1] https://lore.kernel.org/lkml/CAHk-=whDHsbK3HTOpTF=ue_o04onRwTEaK_ZoJp_fjbqq4+=Jw@xxxxxxxxxxxxxx/
> [2] https://git.kernel.org/linus/9d3e3c705eb395528fd8f17208c87581b134da48
>
> Signed-off-by: Kees Cook <keescook@xxxxxxxxxxxx>
> ---
> Documentation/process/deprecated.rst | 22 ++++++++++++++++++++++
> 1 file changed, 22 insertions(+)

Applied, thanks.

jon