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:	Tue, 15 Mar 2011 17:11:59 -0700
From:	Randy Dunlap <randy.dunlap@...cle.com>
To:	Stephen Rothwell <sfr@...b.auug.org.au>,
	Trond Myklebust <Trond.Myklebust@...app.com>,
	linux-nfs@...r.kernel.org
Cc:	linux-next@...r.kernel.org, LKML <linux-kernel@...r.kernel.org>,
	Neil Brown <neilb@...e.de>, bfields@...ldses.org
Subject: [PATCH -next] sunrpc: fix printk format warning

From: Randy Dunlap <randy.dunlap@...cle.com>

Fix printk format build warning:

net/sunrpc/xprtrdma/verbs.c:1463: warning: format '%llx' expects type 'long long unsigned int', but argument 3 has type 'dma_addr_t'

Signed-off-by: Randy Dunlap <randy.dunlap@...cle.com>
---
 net/sunrpc/xprtrdma/verbs.c |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

--- linux-next-20110315.orig/net/sunrpc/xprtrdma/verbs.c
+++ linux-next-20110315/net/sunrpc/xprtrdma/verbs.c
@@ -1462,7 +1462,8 @@ rpcrdma_map_one(struct rpcrdma_ia *ia, s
 	if (ib_dma_mapping_error(ia->ri_id->device, seg->mr_dma)) {
 		dprintk("RPC:       %s: mr_dma %llx mr_offset %p mr_dma_len %zu\n",
 			__func__,
-			seg->mr_dma, seg->mr_offset, seg->mr_dmalen);
+			(unsigned long long)seg->mr_dma,
+			seg->mr_offset, seg->mr_dmalen);
 	}
 }
 
--
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