From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756035AbZBSS5q (ORCPT ); Thu, 19 Feb 2009 13:57:46 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751992AbZBSS5h (ORCPT ); Thu, 19 Feb 2009 13:57:37 -0500 Received: from bombadil.infradead.org ([18.85.46.34]:59946 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751531AbZBSS5g (ORCPT ); Thu, 19 Feb 2009 13:57:36 -0500 Date: Thu, 19 Feb 2009 13:57:33 -0500 From: Christoph Hellwig To: Harvey Harrison Cc: Linus Torvalds , Andrew Morton , linux-arch , LKML , Al Viro Subject: Re: [RFC PATCH] kernel: add -D__CHECK_ENDIAN__ by default Message-ID: <20090219185732.GA28490@infradead.org> References: <1234992781.31073.192.camel@brick> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1234992781.31073.192.camel@brick> User-Agent: Mutt/1.5.18 (2008-05-17) X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org See http://www.infradead.org/rpr.html Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Feb 18, 2009 at 01:33:01PM -0800, Harvey Harrison wrote: > The noise level with endian checking is getting to the point where > having this enabled by default wouldn't be too bad. If this were to > go in for the 2.6.30 devel cycle it may motivate the last sections that > are still particularly noisy (sound/, drivers/scsi/ come to mind) In which case you should juse kill the CHECK_ENDIAN ifdef and make the checking versions the default. Also Documentation/sparse.txt needs some updates for this change.