public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Sergei Shtylyov <sshtylyov@mvista.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] cfb_console: fix build breakage
Date: Fri, 29 Jul 2011 16:32:45 +0400	[thread overview]
Message-ID: <4E32A86D.1010701@mvista.com> (raw)
In-Reply-To: <1311923413-62087-1-git-send-email-andreas.devel@googlemail.com>

Hello.

On 29-07-2011 11:10, Andreas Bie?mann wrote:

> 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<andreas.devel@googlemail.com>
> ---
>   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);

    This wouldn't pass checkpatch.pl -- remove the space before paren.

WBR, Sergei

  parent reply	other threads:[~2011-07-29 12:32 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-29  7:10 [U-Boot] [PATCH] cfb_console: fix build breakage Andreas Bießmann
2011-07-29  9:28 ` Wolfgang Denk
2011-07-29 12:32 ` Sergei Shtylyov [this message]
2011-07-29 19:48   ` Wolfgang Denk
2011-07-29 19:55 ` [U-Boot] [PATCH 0/3] cfb_console.c - coding style cleanup Wolfgang Denk
2011-07-29 19:55   ` [U-Boot] [PATCH 1/3] Cosmetic: reformat drivers/video/cfb_console.c Wolfgang Denk
2011-08-01 13:14     ` Wolfgang Denk
2011-07-29 19:55   ` [U-Boot] [PATCH 2/3] cfb_console.c: drop custom PRINTD() and use debug() instead Wolfgang Denk
2011-08-01 13:15     ` Wolfgang Denk
2011-07-29 19:55   ` [U-Boot] [PATCH 3/3] cfb_console.c: checkpatch cleanup Wolfgang Denk
2011-07-30 14:12     ` Sergei Shtylyov
2011-07-30 22:45       ` Wolfgang Denk
2011-07-30 22:48     ` [U-Boot] [PATCH 3/3 v2] " Wolfgang Denk
2011-08-01 13:17       ` Wolfgang Denk

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4E32A86D.1010701@mvista.com \
    --to=sshtylyov@mvista.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox