mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
To: Jan Luebbe <jlu@pengutronix.de>
Cc: barebox@lists.infradead.org
Subject: Re: [PATCH] mtd: use correct format specifier
Date: Fri, 7 Sep 2012 11:25:52 +0200	[thread overview]
Message-ID: <20120907092552.GP20330@game.jcrosoft.org> (raw)
In-Reply-To: <1347006700-9053-1-git-send-email-jlu@pengutronix.de>

On 10:31 Fri 07 Sep     , Jan Luebbe wrote:
> For the size_t type the format specifier %zu or %zx must be used.
> See Documentation/printk-formats.txt in the kernel for details.
Acked-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>

can you fix 

/opt/work/barebox/drivers/mtd/mtdraw.c: In function 'mtdraw_read':
/opt/work/barebox/drivers/mtd/mtdraw.c:140:3: warning: format '%lu' expects
type 'long unsigned int', but argument 2 has type 'ssize_t'

too

Best Regards,
J.

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

      reply	other threads:[~2012-09-07  9:25 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-07  8:31 Jan Luebbe
2012-09-07  9:25 ` Jean-Christophe PLAGNIOL-VILLARD [this message]

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=20120907092552.GP20330@game.jcrosoft.org \
    --to=plagnioj@jcrosoft.com \
    --cc=barebox@lists.infradead.org \
    --cc=jlu@pengutronix.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