From patchwork Sat Jan 3 17:02:11 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabian Frederick X-Patchwork-Id: 5562071 Return-Path: X-Original-To: patchwork-ceph-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 47D229F2ED for ; Sat, 3 Jan 2015 17:02:34 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 70E0A201E4 for ; Sat, 3 Jan 2015 17:02:33 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 7E091201C0 for ; Sat, 3 Jan 2015 17:02:32 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752327AbbACRCR (ORCPT ); Sat, 3 Jan 2015 12:02:17 -0500 Received: from mailrelay009.isp.belgacom.be ([195.238.6.176]:10197 "EHLO mailrelay009.isp.belgacom.be" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751294AbbACRCR (ORCPT ); Sat, 3 Jan 2015 12:02:17 -0500 X-Belgacom-Dynamic: yes X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AlkOAGkfqFRXQzKq/2dsb2JhbABbgwaBKrNvBQEBAQEBAQUBd5cuBAKBBRcBAQEBAX2EaSOBGjeIMAGuc44FLIYDiRBkHYQTBZcIiWeHaSKBRQGCKT0xgQOBQAEBAQ Received: from 170.50-67-87.adsl-dyn.isp.belgacom.be (HELO localhost.localdomain) ([87.67.50.170]) by relay.skynet.be with ESMTP; 03 Jan 2015 18:02:13 +0100 From: Fabian Frederick To: linux-kernel@vger.kernel.org Cc: Fabian Frederick , Sage Weil , ceph-devel@vger.kernel.org Subject: [PATCH 1/1 linux-next] ceph: use %zu for size_t display Date: Sat, 3 Jan 2015 18:02:11 +0100 Message-Id: <1420304531-15176-1-git-send-email-fabf@skynet.be> X-Mailer: git-send-email 2.1.0 Sender: ceph-devel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: ceph-devel@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Fixes the following 32-bit compilation warning: fs/ceph/addr.c:1419:2: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'size_t' [-Wformat=] Signed-off-by: Fabian Frederick --- fs/ceph/addr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/ceph/addr.c b/fs/ceph/addr.c index f5013d9..c81c0e0 100644 --- a/fs/ceph/addr.c +++ b/fs/ceph/addr.c @@ -1416,7 +1416,7 @@ void ceph_fill_inline_data(struct inode *inode, struct page *locked_page, } } - dout("fill_inline_data %p %llx.%llx len %lu locked_page %p\n", + dout("fill_inline_data %p %llx.%llx len %zu locked_page %p\n", inode, ceph_vinop(inode), len, locked_page); if (len > 0) {