Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753395AbWKCRJl (ORCPT ); Fri, 3 Nov 2006 12:09:41 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753389AbWKCRJl (ORCPT ); Fri, 3 Nov 2006 12:09:41 -0500 Received: from artax.karlin.mff.cuni.cz ([195.113.31.125]:26501 "EHLO artax.karlin.mff.cuni.cz") by vger.kernel.org with ESMTP id S1753397AbWKCRJk (ORCPT ); Fri, 3 Nov 2006 12:09:40 -0500 Date: Fri, 3 Nov 2006 18:09:39 +0100 (CET) From: Mikulas Patocka To: Oleg Verych Cc: Andrew Morton , Gabriel C , LKML Subject: Re: New filesystem for Linux In-Reply-To: <20061103171443.GA16912@flower.upol.cz> Message-ID: References: <454A71EB.4000201@googlemail.com> <20061102174149.3578062d.akpm@osdl.org> <20061103171443.GA16912@flower.upol.cz> X-Personality-Disorder: Schizoid MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 604 Lines: 18 > 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 ? C standard defines that shifts by more bits than size of a type are undefined (in fact 1<<32 produces 1 on i386, because processor uses only 5 bits of a count). Mikulas - 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/