From patchwork Fri Jul 29 07:10:13 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Andreas_Bie=C3=9Fmann?= X-Patchwork-Id: 107355 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 AB61BB6F68 for ; Fri, 29 Jul 2011 17:10:43 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 0D67C28090; Fri, 29 Jul 2011 09:10:42 +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 3I5rpYGvlS4c; Fri, 29 Jul 2011 09:10:41 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id D522928086; Fri, 29 Jul 2011 09:10:37 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 7581F28086 for ; Fri, 29 Jul 2011 09:10:35 +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 7cegWz86oz2N for ; Fri, 29 Jul 2011 09:10:34 +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-fx0-f44.google.com (mail-fx0-f44.google.com [209.85.161.44]) by theia.denx.de (Postfix) with ESMTPS id 12ABD28083 for ; Fri, 29 Jul 2011 09:10:32 +0200 (CEST) Received: by fxe6 with SMTP id 6so2089468fxe.3 for ; Fri, 29 Jul 2011 00:10:32 -0700 (PDT) Received: by 10.223.161.196 with SMTP id s4mr1317264fax.74.1311923432141; Fri, 29 Jul 2011 00:10:32 -0700 (PDT) Received: from andreas-mbp.erlangen.biessmann.tld (dslb-178-010-080-114.pools.arcor-ip.net [178.10.80.114]) by mx.google.com with ESMTPS id e10sm914386fak.18.2011.07.29.00.10.30 (version=SSLv3 cipher=OTHER); Fri, 29 Jul 2011 00:10:31 -0700 (PDT) From: =?UTF-8?q?Andreas=20Bie=C3=9Fmann?= To: u-boot@lists.denx.de Date: Fri, 29 Jul 2011 09:10:13 +0200 Message-Id: <1311923413-62087-1-git-send-email-andreas.devel@googlemail.com> X-Mailer: git-send-email 1.7.6 MIME-Version: 1.0 Subject: [U-Boot] [PATCH] cfb_console: fix build breakage X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.9 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: u-boot-bounces@lists.denx.de Errors-To: u-boot-bounces@lists.denx.de Commit 09c2e90c110ef99f1203685acd1059114a51b167 "unify version_string" introduced a build breakage in cfb_console.c ---8<--- cfb_console.c:1497: warning: format '%s' expects type 'char *', but argument 3 has type 'const char (*)[]' --->8--- Signed-off-by: Andreas Bießmann --- drivers/video/cfb_console.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/video/cfb_console.c b/drivers/video/cfb_console.c index 77e7285..b56197f 100644 --- a/drivers/video/cfb_console.c +++ b/drivers/video/cfb_console.c @@ -1494,7 +1494,7 @@ static void *video_logo (void) logo_plot (video_fb_address, VIDEO_COLS, 0, 0); - sprintf (info, " %s", &version_string); + sprintf (info, " %s", version_string); space = (VIDEO_LINE_LEN / 2 - VIDEO_INFO_X) / VIDEO_FONT_WIDTH; len = strlen(info);