From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1946129AbXBIW6a (ORCPT ); Fri, 9 Feb 2007 17:58:30 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1946135AbXBIW6L (ORCPT ); Fri, 9 Feb 2007 17:58:11 -0500 Received: from nikam-dmz.ms.mff.cuni.cz ([195.113.20.16]:59493 "EHLO nikam.ms.mff.cuni.cz" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1946129AbXBIW6E (ORCPT ); Fri, 9 Feb 2007 17:58:04 -0500 Date: Fri, 9 Feb 2007 23:58:01 +0100 From: Martin Mares To: Jan Engelhardt Cc: "linux-os (Dick Johnson)" , Linus Torvalds , David Rientjes , Jeff Garzik , Linux Kernel Mailing List , Andrew Morton Subject: Re: somebody dropped a (warning) bomb Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.9i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Hello! > void* comparisons are unsigned. Period. As far as the C standard is concerned, there is no relationship between comparison on pointers and comparison of their values casted to uintptr_t. The address space needn't be linear and on some machines it isn't. So speaking about signedness of pointer comparisons doesn't make sense, except for concrete implementations. Have a nice fortnight -- Martin `MJ' Mares http://mj.ucw.cz/ Faculty of Math and Physics, Charles University, Prague, Czech Rep., Earth Top ten reasons to procrastinate: 1.