diff --git a/Documentation/dev-tools/sparse.rst b/Documentation/dev-tools/sparse.rst index e08e6a8effba3f7679827d059649ab044a690903..78aa00a604a0090713615ff0dfad8c04ab60dc44 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 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. diff --git a/Documentation/translations/zh_CN/sparse.txt b/Documentation/translations/zh_CN/sparse.txt index cc144e58151537cbc4e0209732117879a159f44c..e41dc940e16298854e52626412b08b73bd223aa2 100644 --- a/Documentation/translations/zh_CN/sparse.txt +++ b/Documentation/translations/zh_CN/sparse.txt @@ -92,9 +92,4 @@ DaveJ 把æ¯å°æ—¶è‡ªåŠ¨ç”Ÿæˆçš„ git æºç æ ‘ tar 包放在以下地å€ï¼š å¦‚æžœä½ å·²ç»ç¼–è¯‘äº†å†…æ ¸ï¼Œç”¨åŽä¸€ç§æ–¹å¼å¯ä»¥å¾ˆå¿«åœ°æ£€æŸ¥æ•´ä¸ªæºç æ ‘ã€‚ make çš„å¯é€‰å˜é‡ CHECKFLAGS å¯ä»¥ç”¨æ¥å‘ sparse å·¥å…·ä¼ é€’å‚数。编译系统会自 -åŠ¨å‘ sparse å·¥å…·ä¼ é€’ -Wbitwise å‚æ•°ã€‚ä½ å¯ä»¥å®šä¹‰ __CHECK_ENDIAN__ æ¥è¿›è¡Œ -大å°å°¾æ£€æŸ¥ã€‚ - - make C=2 CHECKFLAGS="-D__CHECK_ENDIAN__" - -这些检查默认都是被关é—çš„ï¼Œå› ä¸ºä»–ä»¬é€šå¸¸ä¼šäº§ç”Ÿå¤§é‡çš„è¦å‘Šã€‚ +åŠ¨å‘ sparse å·¥å…·ä¼ é€’ -Wbitwise å‚数。