Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756660AbXFOSmQ (ORCPT ); Fri, 15 Jun 2007 14:42:16 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752457AbXFOSmA (ORCPT ); Fri, 15 Jun 2007 14:42:00 -0400 Received: from sj-iport-2-in.cisco.com ([171.71.176.71]:32461 "EHLO sj-iport-2.cisco.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752200AbXFOSl7 (ORCPT ); Fri, 15 Jun 2007 14:41:59 -0400 X-IronPort-AV: i="4.16,425,1175497200"; d="scan'208"; a="379838376:sNHT686728534" To: "jidong xiao" Cc: "Randy Dunlap" , "Vegard Nossum" , linux-kernel@vger.kernel.org Subject: Re: How to printk unsigned long long variable? X-Message-Flag: Warning: May contain useful information References: <4104961b0706150759l66fd713boac1a747637e73ee@mail.gmail.com> <19f34abd0706150804w69ce36c0i9e7f9a015895ac0c@mail.gmail.com> <20070615083355.f5bdb784.randy.dunlap@oracle.com> <4104961b0706150839t1a54ccdaq4ddc747d04538a19@mail.gmail.com> <4104961b0706150918me1d809fu66ee07738284c21c@mail.gmail.com> From: Roland Dreier Date: Fri, 15 Jun 2007 11:41:58 -0700 In-Reply-To: <4104961b0706150918me1d809fu66ee07738284c21c@mail.gmail.com> (jidong xiao's message of "Sat, 16 Jun 2007 00:18:09 +0800") Message-ID: User-Agent: Gnus/5.1007 (Gnus v5.10.7) XEmacs/21.4.19 (linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-OriginalArrivalTime: 15 Jun 2007 18:41:58.0285 (UTC) FILETIME=[DAABDBD0:01C7AF7C] Authentication-Results: sj-dkim-1; header.From=rdreier@cisco.com; dkim=pass ( sig from cisco.com/sjdkim1004 verified; ); Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 408 Lines: 12 > dma_mask should be a pointer, I mean, the element in struct device, see below, Sorry, you're right. So print it as (unsigned long long) *dev->dma_mask. - R. - 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/