summaryrefslogtreecommitdiffstats
path: root/clang-tools-extra/docs/ReleaseNotes.rst
diff options
context:
space:
mode:
Diffstat (limited to 'clang-tools-extra/docs/ReleaseNotes.rst')
-rw-r--r--clang-tools-extra/docs/ReleaseNotes.rst10
1 files changed, 1 insertions, 9 deletions
diff --git a/clang-tools-extra/docs/ReleaseNotes.rst b/clang-tools-extra/docs/ReleaseNotes.rst
index 38875ed939b..25144809b39 100644
--- a/clang-tools-extra/docs/ReleaseNotes.rst
+++ b/clang-tools-extra/docs/ReleaseNotes.rst
@@ -71,15 +71,7 @@ Improvements to clang-tidy
<clang-tidy/checks/linuxkernel-must-use-errs>` check.
Checks Linux kernel code to see if it uses the results from the functions in
- ``linux/err.h``. Also checks to see if code uses the results from functions that
- directly return a value from one of these error functions.
-
- This is important in the Linux kernel because ``ERR_PTR``, ``PTR_ERR``,
- ``IS_ERR``, ``IS_ERR_OR_NULL``, ``ERR_CAST``, and ``PTR_ERR_OR_ZERO`` return
- values must be checked, since positive pointers and negative error codes are
- being used in the same context. These functions are marked with
- ``__attribute__((warn_unused_result))``, but some kernel versions do not have
- this warning enabled for clang.
+ ``linux/err.h``.
- New :doc:`google-upgrade-googletest-case
<clang-tidy/checks/google-upgrade-googletest-case>` check.
OpenPOWER on IntegriCloud