]> git.baikalelectronics.ru Git - kernel.git/commit
Documentation/sparse: add hints about __CHECKER__
authorBjorn Helgaas <bhelgaas@google.com>
Wed, 23 Mar 2022 23:05:32 +0000 (16:05 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 24 Mar 2022 02:00:33 +0000 (19:00 -0700)
commit23185feab9a7578c8e8d0fe1e839031853af5cca
treeb996ecbbe3a68711d3a4ee8afe129828dcc65e58
parentdcde58fe2922cb05738e4862deac914b7e604397
Documentation/sparse: add hints about __CHECKER__

Several attributes depend on __CHECKER__, but previously there was no
clue in the tree about when __CHECKER__ might be defined.  Add hints at
the most common places (__kernel, __user, __iomem, __bitwise) and in the
sparse documentation.

Link: https://lkml.kernel.org/r/20220310220927.245704-3-helgaas@kernel.org
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Cc: Jonathan Corbet <corbet@lwn.net>
Cc: Nathan Chancellor <nathan@kernel.org>
Cc: Nick Desaulniers <ndesaulniers@google.com>
Cc: "Michael S . Tsirkin" <mst@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Documentation/dev-tools/sparse.rst
include/linux/compiler_types.h
include/uapi/linux/types.h