Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753468AbWKCS4X (ORCPT ); Fri, 3 Nov 2006 13:56:23 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753470AbWKCS4X (ORCPT ); Fri, 3 Nov 2006 13:56:23 -0500 Received: from outpipe-village-512-1.bc.nu ([81.2.110.250]:18136 "EHLO lxorguk.ukuu.org.uk") by vger.kernel.org with ESMTP id S1753468AbWKCS4W (ORCPT ); Fri, 3 Nov 2006 13:56:22 -0500 Subject: Re: New filesystem for Linux From: Alan Cox To: Oleg Verych Cc: Andrew Morton , Mikulas Patocka , Gabriel C , LKML In-Reply-To: <20061103171443.GA16912@flower.upol.cz> References: <454A71EB.4000201@googlemail.com> <20061102174149.3578062d.akpm@osdl.org> <20061103171443.GA16912@flower.upol.cz> Content-Type: text/plain Content-Transfer-Encoding: 7bit Date: Fri, 03 Nov 2006 19:00:19 +0000 Message-Id: <1162580419.12810.28.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.6.2 (2.6.2-1.fc5.5) Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 666 Lines: 18 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 - 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/