Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758155AbYCAFYA (ORCPT ); Sat, 1 Mar 2008 00:24:00 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751878AbYCAFXw (ORCPT ); Sat, 1 Mar 2008 00:23:52 -0500 Received: from mx1.redhat.com ([66.187.233.31]:46164 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751644AbYCAFXv (ORCPT ); Sat, 1 Mar 2008 00:23:51 -0500 From: Jarod Wilson Organization: Red Hat, Inc. To: Stefan Richter Subject: Re: [PATCH 0/2] firewire: endinaness warnings (was Re: sparse - make __CHECK_ENDIAN__ default enabled?) Date: Sat, 1 Mar 2008 00:23:24 -0500 User-Agent: KMail/1.9.6 (enterprise 0.20071204.744707) Cc: linux1394-devel@lists.sourceforge.net, Harvey Harrison , Sam Ravnborg , linux-kernel@vger.kernel.org, sparclinux@vger.kernel.org, linuxppc-dev@ozlabs.org, Kristian Hoegsberg References: <20080220220326.GA22328@uranus.ravnborg.org> <1203545913.25307.47.camel@brick> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200803010023.25086.jwilson@redhat.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1778 Lines: 45 On Saturday 23 February 2008 06:23:30 am Stefan Richter wrote: > On 20 Feb, Harvey Harrison wrote on LKML: > > On Wed, 2008-02-20 at 23:03 +0100, Sam Ravnborg wrote: > >> Hi Harvey. > >> > >> Can I ask you to look into the worst offenders so we > >> can make -D__CHECK_ENDIAN__ enabled per default > >> in the kernel. > >> Or maybe we should do it anyway? > > > > Well, I've got the worst of fs and drivers/ata done so far, still > > weeping over the 5500 warnings in drivers. (X86_32 allyesconfig). > > People ignore the existing warnings anyway, why not toss a few more > > on the pile? > > > > I'll look them over tonight and see how bad it would be. > > I looked into drivers/firewire and drivers/ieee1394. As expected, there > are quite a lot endianess related warnings in the latter because this is > code from way before sparse was regularly used. > > There are also a few warnings in the former, even though sparse checks > were run before submission of the whole drivers/firewire stack. I will > follow up with two patches: > 1/2 firewire: endianess fix > 2/2 firewire: endianess annotations > Whether the "fix" is really a fix remains to be seen; I don't have a big > endian Linux box myself. Doesn't hurt anything on my end, spb2 devices work, they survive bus resets and so on. The funky uninorth controller definitely doesn't work, but it didn't before the patch either, and the fix is being chased in another patch series. Signed-off-by: Jarod Wilson -- Jarod Wilson jwilson@redhat.com -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/