From patchwork Mon Mar 22 12:02:44 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Dan Carpenter X-Patchwork-Id: 48291 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 ozlabs.org (Postfix) with ESMTPS id B2515B7CD5 for ; Mon, 22 Mar 2010 23:05:30 +1100 (EST) Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.69 #1 (Red Hat Linux)) id 1NtgLc-0006JG-9n; Mon, 22 Mar 2010 12:03:08 +0000 Received: from mail-bw0-f218.google.com ([209.85.218.218]) by bombadil.infradead.org with esmtp (Exim 4.69 #1 (Red Hat Linux)) id 1NtgLW-0006HO-3U for linux-mtd@lists.infradead.org; Mon, 22 Mar 2010 12:03:06 +0000 Received: by bwz10 with SMTP id 10so7463460bwz.2 for ; Mon, 22 Mar 2010 05:02:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:cc:subject :message-id:mime-version:content-type:content-disposition :content-transfer-encoding:user-agent; bh=AUc15Ne4Hbji0PMm9LFEOMYnTp5AJQP7u/eqAayHbGc=; b=LWfMCMkHLWC9Ww2HsaL5syviGNVFcBls57hKLHfvIRZqqqnlgwVISRkiZQcx+SlzuH s3JPub1Ey9x8sTVeNRmsL0nTN1lK14wJsMzaz1CPFnYkbIt/+2rUH52cZITY8TZdJW6C 9RIhO77ATJJ0nq+xJUHkBJFBKm8a0PFzfbynw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:cc:subject:message-id:mime-version:content-type :content-disposition:content-transfer-encoding:user-agent; b=Lhne59iKR/zSU6kHedUgv5QZNz50gSGgGG5rgzbNK0506l57VJKdawhBU7BMoGH30z R9rsELggkMNXdraIsNBIUjWUxvAA3zUZkvXRfP91kmyhnTZsV5aXBaw4wWmp+TvEjy9L /5Se4ArUfor6WdiZc8D6NRffmfd9zkElnfHZo= Received: by 10.204.4.150 with SMTP id 22mr3616960bkr.192.1269259378892; Mon, 22 Mar 2010 05:02:58 -0700 (PDT) Received: from bicker ([196.43.68.63]) by mx.google.com with ESMTPS id x16sm19298913bku.23.2010.03.22.05.02.56 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 22 Mar 2010 05:02:58 -0700 (PDT) Date: Mon, 22 Mar 2010 15:02:44 +0300 From: Dan Carpenter To: David Woodhouse Subject: [patch] mtd: silence compile warning Message-ID: <20100322115819.GA21571@bicker> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.18 (2008-05-17) X-CRM114-Version: 20090807-BlameThorstenAndJenny ( TRE 0.7.6 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20100322_080302_377977_6961C73B X-CRM114-Status: UNSURE ( 9.90 ) X-CRM114-Notice: Please train this message. X-Spam-Score: 2.4 (++) X-Spam-Report: SpamAssassin version 3.2.5 on bombadil.infradead.org summary: Content analysis details: (2.4 points) pts rule name description ---- ---------------------- -------------------------------------------------- 2.4 DNS_FROM_OPENWHOIS RBL: Envelope sender listed in bl.open-whois.org. Cc: kernel-janitors@vger.kernel.org, linux-mtd@lists.infradead.org X-BeenThere: linux-mtd@lists.infradead.org X-Mailman-Version: 2.1.12 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 This gets rid of a compile warning: drivers/mtd/maps/dmv182.c:120: warning: format ‘%d’ expects type ‘int’, but argument 2 has type ‘uint64_t’ Signed-off-by: Dan Carpenter diff --git a/drivers/mtd/maps/dmv182.c b/drivers/mtd/maps/dmv182.c index d171674..680ba2d 100644 --- a/drivers/mtd/maps/dmv182.c +++ b/drivers/mtd/maps/dmv182.c @@ -116,7 +116,7 @@ static int __init init_svme182(void) return -ENXIO; } - printk(KERN_NOTICE "SVME182 flash device: %dMiB at 0x%08x\n", + printk(KERN_NOTICE "SVME182 flash device: %lldMiB at 0x%08x\n", this_mtd->size >> 20, FLASH_BASE_ADDR); this_mtd->owner = THIS_MODULE;