From patchwork Wed Mar 16 00:11:59 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Randy Dunlap X-Patchwork-Id: 638281 X-Patchwork-Delegate: Trond.Myklebust@netapp.com Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id p2G0CJiZ014812 for ; Wed, 16 Mar 2011 00:12:19 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755516Ab1CPAMR (ORCPT ); Tue, 15 Mar 2011 20:12:17 -0400 Received: from rcsinet10.oracle.com ([148.87.113.121]:42140 "EHLO rcsinet10.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754425Ab1CPAMQ (ORCPT ); Tue, 15 Mar 2011 20:12:16 -0400 Received: from acsinet15.oracle.com (acsinet15.oracle.com [141.146.126.227]) by rcsinet10.oracle.com (Switch-3.4.2/Switch-3.4.2) with ESMTP id p2G0C3iU024735 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Wed, 16 Mar 2011 00:12:05 GMT Received: from acsmt358.oracle.com (acsmt358.oracle.com [141.146.40.158]) by acsinet15.oracle.com (Switch-3.4.2/Switch-3.4.1) with ESMTP id p2G0C2Bp025123 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 16 Mar 2011 00:12:02 GMT Received: from abhmt007.oracle.com (abhmt007.oracle.com [141.146.116.16]) by acsmt358.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id p2G0C1vE007359; Tue, 15 Mar 2011 19:12:02 -0500 Received: from chimera.site (/173.50.240.230) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Tue, 15 Mar 2011 17:12:01 -0700 Date: Tue, 15 Mar 2011 17:11:59 -0700 From: Randy Dunlap To: Stephen Rothwell , Trond Myklebust , linux-nfs@vger.kernel.org Cc: linux-next@vger.kernel.org, LKML , Neil Brown , bfields@fieldses.org Subject: [PATCH -next] sunrpc: fix printk format warning Message-Id: <20110315171159.b0e1fab1.randy.dunlap@oracle.com> In-Reply-To: <20110315194543.a5d56c0c.sfr@canb.auug.org.au> References: <20110315194543.a5d56c0c.sfr@canb.auug.org.au> Organization: Oracle Linux Eng. X-Mailer: Sylpheed 2.7.1 (GTK+ 2.16.6; x86_64-unknown-linux-gnu) Mime-Version: 1.0 X-Source-IP: acsmt358.oracle.com [141.146.40.158] X-Auth-Type: Internal IP X-CT-RefId: str=0001.0A090208.4D800053.0081,ss=1,fgs=0 Sender: linux-nfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter1.kernel.org [140.211.167.41]); Wed, 16 Mar 2011 00:12:19 +0000 (UTC) --- 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); } }