OSDN Git Service

docs: deprecated.rst: Add BUG()-family
authorKees Cook <keescook@chromium.org>
Sat, 14 Mar 2020 22:29:50 +0000 (15:29 -0700)
committerJonathan Corbet <corbet@lwn.net>
Fri, 20 Mar 2020 23:24:49 +0000 (17:24 -0600)
commit7af51678b6d367ee93dc3d21e72ecf15be50fcb1
tree2135504e098dcb80bc953c62692baffe551b9e14
parent6735c208c1326f2d56bdcd1f41f6062baef73bec
docs: deprecated.rst: Add BUG()-family

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@mail.gmail.com/
[2] https://git.kernel.org/linus/9d3e3c705eb395528fd8f17208c87581b134da48

Signed-off-by: Kees Cook <keescook@chromium.org>
Link: https://lore.kernel.org/r/202003141524.59C619B51A@keescook
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Documentation/process/deprecated.rst