From patchwork Wed Oct 3 18:36:11 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Schwierzeck X-Patchwork-Id: 188895 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from theia.denx.de (theia.denx.de [85.214.87.163]) by ozlabs.org (Postfix) with ESMTP id 526A52C0093 for ; Thu, 4 Oct 2012 04:36:24 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id E77F728134; Wed, 3 Oct 2012 20:36:22 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at theia.denx.de Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id r0vewZ2+oUAf; Wed, 3 Oct 2012 20:36:22 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 47F5728129; Wed, 3 Oct 2012 20:36:20 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id CC86428129 for ; Wed, 3 Oct 2012 20:36:17 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at theia.denx.de Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id dT8vIEdJYeRG for ; Wed, 3 Oct 2012 20:36:17 +0200 (CEST) X-policyd-weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 NOT_IN_BL_NJABL=-1.5 (only DNSBL check requested) Received: from mail-wi0-f174.google.com (mail-wi0-f174.google.com [209.85.212.174]) by theia.denx.de (Postfix) with ESMTPS id 4A1F028127 for ; Wed, 3 Oct 2012 20:36:15 +0200 (CEST) Received: by mail-wi0-f174.google.com with SMTP id hq7so2356247wib.9 for ; Wed, 03 Oct 2012 11:36:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer; bh=4sVobltTRz+wuGyIBC2p8mTV/sUnJD4h6qfqk6ST9o8=; b=LXQ4kcwpnm6byz6jUeM1DrfBmDu3hQBnRj3A376xt39zrpM8yDxMu3eCmbqyqfEP62 /BKr7l367dA+6+6MiGWWEb02i71SuvlqB1SWBiWUmf59ViJORUTeHX8CAp1zD1q2Gh12 BDd+NxTlg0D+gkkb4No7heCMgU4cBjXr9SLd9k9GbM8925QSmieMCjLeIbz1rSNhHkOJ DRQ2VKFGWMa4NV3nwRicSqq6G7JWLiDcdlxIwMUmGUj+c5vN/zivWX+duI8xZCPHN/He kQYXTWuIoBjNqsDb7XJMCEmsl1z7m21hp6/TxlJKP2XHaWGqU+ipuHH6x1Qu1E3Roh1E pXtw== Received: by 10.180.89.7 with SMTP id bk7mr6816497wib.0.1349289375341; Wed, 03 Oct 2012 11:36:15 -0700 (PDT) Received: from workstation.zombienet (dslb-178-000-065-074.pools.arcor-ip.net. [178.0.65.74]) by mx.google.com with ESMTPS id k20sm28194453wiv.11.2012.10.03.11.36.13 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 03 Oct 2012 11:36:14 -0700 (PDT) From: daniel.schwierzeck@gmail.com To: u-boot@lists.denx.de Date: Wed, 3 Oct 2012 20:36:11 +0200 Message-Id: <1349289371-17160-1-git-send-email-daniel.schwierzeck@gmail.com> X-Mailer: git-send-email 1.7.11.3 Cc: Tom Rini Subject: [U-Boot] [PATCH] common: cmd_bdinfo: fix type of value in print_lnum X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.11 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: u-boot-bounces@lists.denx.de Errors-To: u-boot-bounces@lists.denx.de From: Daniel Schwierzeck This fixes a warning when compiling with ELDK-5.2.1 for MIPS64: cmd_bdinfo.c: In function 'print_lnum': cmd_bdinfo.c:56:2: warning: format '%llX' expects argument of type 'long long unsigned int', but argument 3 has type 'u64' [-Wformat] Signed-off-by: Daniel Schwierzeck --- common/cmd_bdinfo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/cmd_bdinfo.c b/common/cmd_bdinfo.c index 23bd8a5..286c8c8 100644 --- a/common/cmd_bdinfo.c +++ b/common/cmd_bdinfo.c @@ -51,7 +51,7 @@ static void print_eth(int idx) } __maybe_unused -static void print_lnum(const char *name, u64 value) +static void print_lnum(const char *name, unsigned long long value) { printf("%-12s= 0x%.8llX\n", name, value); }