]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
Documentation/sparse: drop __CHECK_ENDIAN__
authorMichael S. Tsirkin <mst@redhat.com>
Sun, 11 Dec 2016 04:41:20 +0000 (06:41 +0200)
committerMichael S. Tsirkin <mst@redhat.com>
Thu, 15 Dec 2016 22:13:41 +0000 (00:13 +0200)
It's no longer used.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Documentation/dev-tools/sparse.rst
Documentation/translations/zh_CN/sparse.txt

index e08e6a8effba3f7679827d059649ab044a690903..78aa00a604a0090713615ff0dfad8c04ab60dc44 100644 (file)
@@ -102,9 +102,4 @@ be recompiled or not.  The latter is a fast way to check the whole tree if you
 have already built it.
 
 The optional make variable CF can be used to pass arguments to sparse.  The
-build system passes -Wbitwise to sparse automatically.  To perform endianness
-checks, you may define __CHECK_ENDIAN__::
-
-        make C=2 CF="-D__CHECK_ENDIAN__"
-
-These checks are disabled by default as they generate a host of warnings.
+build system passes -Wbitwise to sparse automatically.
index cc144e58151537cbc4e0209732117879a159f44c..e41dc940e16298854e52626412b08b73bd223aa2 100644 (file)
@@ -92,9 +92,4 @@ DaveJ 把每小时自动生成的 git 源码树 tar 包放在以下地址:
 如果你已经编译了内核,用后一种方式可以很快地检查整个源码树。
 
 make 的可选变量 CHECKFLAGS 可以用来向 sparse 工具传递参数。编译系统会自
-动向 sparse 工具传递 -Wbitwise 参数。你可以定义 __CHECK_ENDIAN__ 来进行
-大小尾检查。
-
-       make C=2 CHECKFLAGS="-D__CHECK_ENDIAN__"
-
-这些检查默认都是被关闭的,因为他们通常会产生大量的警告。
+动向 sparse 工具传递 -Wbitwise 参数。