Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753422AbWKCTO5 (ORCPT ); Fri, 3 Nov 2006 14:14:57 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753461AbWKCTO5 (ORCPT ); Fri, 3 Nov 2006 14:14:57 -0500 Received: from cantor2.suse.de ([195.135.220.15]:32207 "EHLO mx2.suse.de") by vger.kernel.org with ESMTP id S1753422AbWKCTO4 (ORCPT ); Fri, 3 Nov 2006 14:14:56 -0500 To: Alan Cox Cc: Andrew Morton , Mikulas Patocka , Gabriel C , LKML Subject: Re: New filesystem for Linux References: <454A71EB.4000201@googlemail.com> <20061102174149.3578062d.akpm@osdl.org> <20061103171443.GA16912@flower.upol.cz> <1162580419.12810.28.camel@localhost.localdomain> From: Andi Kleen Date: 03 Nov 2006 20:14:51 +0100 In-Reply-To: <1162580419.12810.28.camel@localhost.localdomain> Message-ID: User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 773 Lines: 18 Alan Cox writes: > Ar Gwe, 2006-11-03 am 17:14 +0000, ysgrifennodd Oleg Verych: > > In gmane.linux.kernel, you wrote: > > [] > > > From: Andrew Morton > > > > > > As Mikulas points out, (1 << anything) won't be evaluating to zero. > > > > How about integer overflow ? > > That is undefined in C and for some cases will not produce zero but roll > anything%32 bits and the like. If anyone is relying on 1 << foo becoming > zero they need fixing Vaxen will throw an exception. -Andi - 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/