Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Documentation/sparse: drop __CHECK_ENDIAN__

It's no longer used.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>

+2 -12
+1 -6
Documentation/dev-tools/sparse.rst
··· 102 102 have already built it. 103 103 104 104 The optional make variable CF can be used to pass arguments to sparse. The 105 - build system passes -Wbitwise to sparse automatically. To perform endianness 106 - checks, you may define __CHECK_ENDIAN__:: 107 - 108 - make C=2 CF="-D__CHECK_ENDIAN__" 109 - 110 - These checks are disabled by default as they generate a host of warnings. 105 + build system passes -Wbitwise to sparse automatically.
+1 -6
Documentation/translations/zh_CN/sparse.txt
··· 92 92 如果你已经编译了内核,用后一种方式可以很快地检查整个源码树。 93 93 94 94 make 的可选变量 CHECKFLAGS 可以用来向 sparse 工具传递参数。编译系统会自 95 - 动向 sparse 工具传递 -Wbitwise 参数。你可以定义 __CHECK_ENDIAN__ 来进行 96 - 大小尾检查。 97 - 98 - make C=2 CHECKFLAGS="-D__CHECK_ENDIAN__" 99 - 100 - 这些检查默认都是被关闭的,因为他们通常会产生大量的警告。 95 + 动向 sparse 工具传递 -Wbitwise 参数。