lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Fri, 15 Jun 2007 18:29:31 +0200 (CEST)
From:	Jan Engelhardt <jengelh@...putergmbh.de>
To:	jidong xiao <jidong.xiao@...il.com>
cc:	Roland Dreier <rdreier@...co.com>,
	Randy Dunlap <randy.dunlap@...cle.com>,
	Vegard Nossum <vegard.nossum@...il.com>,
	linux-kernel@...r.kernel.org
Subject: Re: How to printk unsigned long long variable?


On Jun 16 2007 00:18, jidong xiao wrote:

> dma_mask should be a pointer, I mean, the element in struct device, see
> below,
>
> struct device {
>
> 	u64		*dma_mask;	/* dma mask (if dma'able device) */

Then it's printk("%llx\n", (unsigned long long)*dev->dma_mask);


	Jan
-- 
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ