]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit1b10316d504ef31bf53860a0eaaecad7807cb7d1
tree2135504e098dcb80bc953c62692baffe551b9e14
parentddd5a0b7a84e9e4c29305c489b67868bd0a40af5
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/e4493c41bb2d7cc7e9151ea43db45336109b5166

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