summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael S. Tsirkin <mst@redhat.com>2016-12-10 23:41:20 -0500
committerMichael S. Tsirkin <mst@redhat.com>2016-12-15 17:13:41 -0500
commitdc67a9f70c0b43b0d1f3aa04407e67ca4cf9b241 (patch)
tree55e80e346ace12b4abf7cb3f2de5920211aa836a
parent9efeccacd3a486128d3add611dd4cefb5b60a58c (diff)
Documentation/sparse: drop __CHECK_ENDIAN__
It's no longer used. Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
-rw-r--r--Documentation/dev-tools/sparse.rst7
-rw-r--r--Documentation/translations/zh_CN/sparse.txt7
2 files changed, 2 insertions, 12 deletions
diff --git a/Documentation/dev-tools/sparse.rst b/Documentation/dev-tools/sparse.rst
index e08e6a8effba..78aa00a604a0 100644
--- a/Documentation/dev-tools/sparse.rst
+++ b/Documentation/dev-tools/sparse.rst
@@ -102,9 +102,4 @@ be recompiled or not. The latter is a fast way to check the whole tree if you
102have already built it. 102have already built it.
103 103
104The optional make variable CF can be used to pass arguments to sparse. The 104The optional make variable CF can be used to pass arguments to sparse. The
105build system passes -Wbitwise to sparse automatically. To perform endianness 105build system passes -Wbitwise to sparse automatically.
106checks, you may define __CHECK_ENDIAN__::
107
108 make C=2 CF="-D__CHECK_ENDIAN__"
109
110These checks are disabled by default as they generate a host of warnings.
diff --git a/Documentation/translations/zh_CN/sparse.txt b/Documentation/translations/zh_CN/sparse.txt
index cc144e581515..e41dc940e162 100644
--- a/Documentation/translations/zh_CN/sparse.txt
+++ b/Documentation/translations/zh_CN/sparse.txt
@@ -92,9 +92,4 @@ DaveJ 把每小时自动生成的 git 源码树 tar 包放在以下地址:
92如果你已经编译了内核,用后一种方式可以很快地检查整个源码树。 92如果你已经编译了内核,用后一种方式可以很快地检查整个源码树。
93 93
94make 的可选变量 CHECKFLAGS 可以用来向 sparse 工具传递参数。编译系统会自 94make 的可选变量 CHECKFLAGS 可以用来向 sparse 工具传递参数。编译系统会自
95动向 sparse 工具传递 -Wbitwise 参数。你可以定义 __CHECK_ENDIAN__ 来进行 95动向 sparse 工具传递 -Wbitwise 参数。
96大小尾检查。
97
98 make C=2 CHECKFLAGS="-D__CHECK_ENDIAN__"
99
100这些检查默认都是被关闭的,因为他们通常会产生大量的警告。