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] [day] [month] [year] [list]
Message-ID: <20080210222304.GA20829@fieldses.org>
Date:	Sun, 10 Feb 2008 17:23:04 -0500
From:	"J. Bruce Fields" <bfields@...ldses.org>
To:	Roland Dreier <rdreier@...co.com>
Cc:	Tom Tucker <tom@...ngridcomputing.com>,
	linux-kernel@...r.kernel.org
Subject: Re: [PATCH] SUNPRC: Fix printk format warning

On Fri, Feb 08, 2008 at 04:02:04PM -0800, Roland Dreier wrote:
> net/sunrpc/xprtrdma/svc_rdma_sendto.c:160: warning: format '%llx' expects type 'long long unsigned int', but argument 3 has type 'u64'

OK, thanks.  Applied (with the long line split).

--b.

> 
> Signed-off-by: Roland Dreier <rolandd@...co.com>
> ---
> diff --git a/net/sunrpc/xprtrdma/svc_rdma_sendto.c b/net/sunrpc/xprtrdma/svc_rdma_sendto.c
> index 3e32194..4b913e7 100644
> --- a/net/sunrpc/xprtrdma/svc_rdma_sendto.c
> +++ b/net/sunrpc/xprtrdma/svc_rdma_sendto.c
> @@ -159,7 +159,7 @@ static int send_write(struct svcxprt_rdma *xprt, struct svc_rqst *rqstp,
>  	BUG_ON(sge_count >= 32);
>  	dprintk("svcrdma: RDMA_WRITE rmr=%x, to=%llx, xdr_off=%d, "
>  		"write_len=%d, xdr_sge=%p, sge_count=%d\n",
> -		rmr, to, xdr_off, write_len, xdr_sge, sge_count);
> +		rmr, (unsigned long long) to, xdr_off, write_len, xdr_sge, sge_count);
>  
>  	ctxt = svc_rdma_get_context(xprt);
>  	ctxt->count = 0;
--
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