Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Wed, 19 Feb 2003 16:38:19 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Wed, 19 Feb 2003 16:38:19 -0500 Received: from havoc.daloft.com ([64.213.145.173]:9095 "EHLO havoc.gtf.org") by vger.kernel.org with ESMTP id ; Wed, 19 Feb 2003 16:38:18 -0500 Date: Wed, 19 Feb 2003 16:48:17 -0500 From: Jeff Garzik To: "David S. Miller" Cc: "Randy.Dunlap" , Ion Badulescu , torvalds@transmeta.com, linux-kernel@vger.kernel.org Subject: Re: [PATCH] add new DMA_ADDR_T_SIZE define Message-ID: <20030219214817.GD4977@gtf.org> References: <20030219092046.458c2876.rddunlap@osdl.org> <1045692372.14268.9.camel@rth.ninka.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1045692372.14268.9.camel@rth.ninka.net> User-Agent: Mutt/1.3.28i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 713 Lines: 20 On Wed, Feb 19, 2003 at 02:06:12PM -0800, David S. Miller wrote: > On Wed, 2003-02-19 at 09:20, Randy.Dunlap wrote: > > Does this help with being able to printk() a ? How? > > Always use a cast to (u64) or something else? > > One should always cast to long long and use %llx. There is no > printf format appropriate for a 'u64'. /me wishes gcc would let the user application define printf formats for arbitrary [non-struct] user data types... Jeff - 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/