From patchwork Sat Jul 18 13:10:44 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Russell King - ARM Linux X-Patchwork-Id: 29962 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from bombadil.infradead.org (bombadil.infradead.org [18.85.46.34]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by bilbo.ozlabs.org (Postfix) with ESMTPS id 67174B7093 for ; Sat, 18 Jul 2009 23:17:13 +1000 (EST) Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.69 #1 (Red Hat Linux)) id 1MS9gu-0000Aa-2Q; Sat, 18 Jul 2009 13:11:04 +0000 Received: from [2002:4e20:1eda::1] (helo=caramon.arm.linux.org.uk) by bombadil.infradead.org with esmtps (Exim 4.69 #1 (Red Hat Linux)) id 1MS9gr-0008DF-Ra for linux-mtd@lists.infradead.org; Sat, 18 Jul 2009 13:11:02 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=arm.linux.org.uk; s=caramon; h=Date:From:To:Subject:Message-ID: MIME-Version:Content-Type:Content-Transfer-Encoding:Sender; bh=T bITpKsfZ/o0NkKXXdjBRivlX44e+u04m7Ij/EJSP2Q=; b=XPz2vqhcPkxIY/6cw br8zRcdHO8pcy8qHTYNQfi6rJyCnjS4Bfesuk9CEK1gHPQKAO7CTGKqB0aMKscDc GPbsTE2AA8VHEnvU6V3j0px5WVqkakYOYf+fvw3ilWutUynug1e54lQTVkNjH/24 rpfj7RX5jUgTmN699Rw1JoT6Ng= Received: from n2100.arm.linux.org.uk ([2002:4e20:1eda:1:214:fdff:fe10:4f86]) by caramon.arm.linux.org.uk with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1MS9gd-0002qJ-0g; Sat, 18 Jul 2009 14:10:47 +0100 Received: from linux by n2100.arm.linux.org.uk with local (Exim 4.69) (envelope-from ) id 1MS9ga-00019s-RJ; Sat, 18 Jul 2009 14:10:44 +0100 Date: Sat, 18 Jul 2009 14:10:44 +0100 From: Russell King - ARM Linux To: David Woodhouse , linux-mtd@lists.infradead.org Subject: [PATCH] MTD: afs: fix build warning Message-ID: <20090718131044.GA4120@n2100.arm.linux.org.uk> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.18 (2008-05-17) X-Spam-Score: -0.0 (/) X-BeenThere: linux-mtd@lists.infradead.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-mtd-bounces@lists.infradead.org Errors-To: linux-mtd-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org drivers/mtd/afs.c:244: warning: format ‘%5d’ expects type ‘int’, but argument 4 has type ‘uint64_t’ Signed-off-by: Russell King --- drivers/mtd/afs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mtd/afs.c b/drivers/mtd/afs.c index d072ca5..e29e81d 100644 --- a/drivers/mtd/afs.c +++ b/drivers/mtd/afs.c @@ -239,7 +239,7 @@ static int parse_afs_partitions(struct mtd_info *mtd, parts[idx].offset = img_ptr; parts[idx].mask_flags = 0; - printk(" mtd%d: at 0x%08x, %5dKB, %8u, %s\n", + printk(" mtd%d: at 0x%08x, %5lluKB, %8u, %s\n", idx, img_ptr, parts[idx].size / 1024, iis.imageNumber, str);