public inbox for linux-next@vger.kernel.org 
 help / color / mirror / Atom feed
From: Randy Dunlap <randy.dunlap@oracle•com>
To: frame+buffer@ml•breakpoint.cc, linux-fbdev-devel@lists•sourceforge.net
Cc: jayakumar.lkml@gmail•com, linux-next@vger•kernel.org,
	akpm <akpm@linux-foundation•org>
Subject: [PATCH -next] fb: metronome printk format warning
Date: Thu, 21 Aug 2008 13:38:36 -0700	[thread overview]
Message-ID: <20080821133836.1c880abe.randy.dunlap@oracle.com> (raw)

From: Randy Dunlap <randy.dunlap@oracle•com>

Fix printk format warning:

linux-next-20080821/drivers/video/metronomefb.c:191: warning: format '%d' expects type 'int', but argument 4 has type 'size_t

Signed-off-by: Randy Dunlap <randy.dunlap@oracle•com>
---
 drivers/video/metronomefb.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- linux-next-20080821.orig/drivers/video/metronomefb.c
+++ linux-next-20080821/drivers/video/metronomefb.c
@@ -188,7 +188,7 @@ static int __devinit load_waveform(u8 *m
 		epd_frame_table[par->dt].wfm_size = user_wfm_size;
 
 	if (size != epd_frame_table[par->dt].wfm_size) {
-		dev_err(dev, "Error: unexpected size %d != %d\n", size,
+		dev_err(dev, "Error: unexpected size %zu != %d\n", size,
 					epd_frame_table[par->dt].wfm_size);
 		return -EINVAL;
 	}


---
~Randy
Linux Plumbers Conference, 17-19 September 2008, Portland, Oregon USA
http://linuxplumbersconf.org/

                 reply	other threads:[~2008-08-21 20:38 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20080821133836.1c880abe.randy.dunlap@oracle.com \
    --to=randy.dunlap@oracle$(echo .)com \
    --cc=akpm@linux-foundation$(echo .)org \
    --cc=frame+buffer@ml$(echo .)breakpoint.cc \
    --cc=jayakumar.lkml@gmail$(echo .)com \
    --cc=linux-fbdev-devel@lists$(echo .)sourceforge.net \
    --cc=linux-next@vger$(echo .)kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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