From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757363AbcLOFPh (ORCPT ); Thu, 15 Dec 2016 00:15:37 -0500 Received: from mail.kernel.org ([198.145.29.136]:34488 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752523AbcLOFP3 (ORCPT ); Thu, 15 Dec 2016 00:15:29 -0500 Date: Thu, 15 Dec 2016 07:15:25 +0200 From: "Michael S. Tsirkin" To: linux-kernel@vger.kernel.org Cc: Jonathan Corbet , Harry Wei , linux-doc@vger.kernel.org, linux-kernel@zh-kernel.org Subject: [PATCH 6/8] Documentation/sparse: drop __CHECK_ENDIAN__ Message-ID: <1481778865-27667-7-git-send-email-mst@redhat.com> References: <1481778865-27667-1-git-send-email-mst@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1481778865-27667-1-git-send-email-mst@redhat.com> X-Mailer: git-send-email 2.8.0.287.g0deeb61 X-Mutt-Fcc: =sent Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org It's no longer used. Signed-off-by: Michael S. Tsirkin --- Documentation/translations/zh_CN/sparse.txt | 7 +------ Documentation/dev-tools/sparse.rst | 7 +------ 2 files changed, 2 insertions(+), 12 deletions(-) diff --git a/Documentation/translations/zh_CN/sparse.txt b/Documentation/translations/zh_CN/sparse.txt index cc144e5..e41dc94 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 参数。 diff --git a/Documentation/dev-tools/sparse.rst b/Documentation/dev-tools/sparse.rst index e08e6a8..78aa00a 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. -- MST