Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Tue, 3 Sep 2002 15:59:42 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Tue, 3 Sep 2002 15:59:42 -0400 Received: from to-velocet.redhat.com ([216.138.202.10]:42480 "EHLO touchme.toronto.redhat.com") by vger.kernel.org with ESMTP id ; Tue, 3 Sep 2002 15:59:41 -0400 Date: Tue, 3 Sep 2002 16:04:14 -0400 From: Benjamin LaHaise To: Daniel Phillips Cc: Neil Brown , Pavel Machek , Peter Chubb , torvalds@transmeta.com, linux-kernel@vger.kernel.org Subject: Re: Large block device patch, part 1 of 9 Message-ID: <20020903160414.K21268@redhat.com> References: <15717.52317.654149.636236@wombat.chubb.wattle.id.au> <20020903155045.J21268@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: ; from phillips@arcor.de on Tue, Sep 03, 2002 at 10:02:38PM +0200 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 809 Lines: 23 On Tue, Sep 03, 2002 at 10:02:38PM +0200, Daniel Phillips wrote: > If you must have a clever macro: > > #define lli(foo) (long long int) (foo) > #define llu(foo) (long long unsigned) (foo) > > The %lli/%llu have to be there in the format string (modulo as-yet-uninvented > printk hackery) so the cast might as well be there as well. Do you not read the messages in a thread before posting? static inline long long llsect(sector_t sect) { return sect; } was the suggestion. -ben -- "You will be reincarnated as a toad; and you will be much happier." - 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/