Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Fri, 9 Aug 2002 21:33:59 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Fri, 9 Aug 2002 21:33:59 -0400 Received: from pizda.ninka.net ([216.101.162.242]:37764 "EHLO pizda.ninka.net") by vger.kernel.org with ESMTP id ; Fri, 9 Aug 2002 21:33:59 -0400 Date: Fri, 09 Aug 2002 18:24:33 -0700 (PDT) Message-Id: <20020809.182433.69288385.davem@redhat.com> To: akpm@zip.com.au Cc: torvalds@transmeta.com, linux-kernel@vger.kernel.org Subject: Re: [patch 1/12] misc fixes From: "David S. Miller" In-Reply-To: <3D54647C.DB6DE08A@zip.com.au> References: <3D54647C.DB6DE08A@zip.com.au> X-Mailer: Mew version 2.1 on Emacs 21.1 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 562 Lines: 14 From: Andrew Morton Date: Fri, 09 Aug 2002 17:55:24 -0700 - `retval' should not be initialised to "~0UL" because that is 0x00000000ffffffff with 64-bit sector_t. '0' defaults to 'int' on 32-bit systems so ~0 isn't right either. What I think you really want is "~(sector_t) 0". - 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/