Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1161126AbWI1Nn4 (ORCPT ); Thu, 28 Sep 2006 09:43:56 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1161124AbWI1Nn4 (ORCPT ); Thu, 28 Sep 2006 09:43:56 -0400 Received: from mtagate5.uk.ibm.com ([195.212.29.138]:50275 "EHLO mtagate5.uk.ibm.com") by vger.kernel.org with ESMTP id S1161126AbWI1Nnz (ORCPT ); Thu, 28 Sep 2006 09:43:55 -0400 Date: Thu, 28 Sep 2006 15:42:47 +0200 From: Heiko Carstens To: J?rn Engel Cc: Martin Schwidefsky , linux-kernel@vger.kernel.org, holzheu@de.ibm.com Subject: Re: [S390] hypfs sparse warnings. Message-ID: <20060928134247.GB6899@osiris.boeblingen.de.ibm.com> References: <20060928130737.GB1120@skybase> <20060928132540.GA18933@wohnheim.fh-wedel.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060928132540.GA18933@wohnheim.fh-wedel.de> User-Agent: mutt-ng/devel-r804 (Linux) Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 879 Lines: 21 On Thu, Sep 28, 2006 at 03:25:40PM +0200, J?rn Engel wrote: > On Thu, 28 September 2006 15:07:37 +0200, Martin Schwidefsky wrote: > > > > sparse complains, if we use bitwise operations on enums. Cast enum to > > long in order to fix that problem! > > At this point I start to wonder which part should be changed. Is it > better to > a) cast some more, as you started to do, > b) change enums to #defines or > c) change '|' to '+'? > > At any rate, you have the same problem in 5 seperate places by my > count and only changed 1 of them. Nak - in case anyone cares. That would be where? My sparse run didn't reveal anything else. - 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/