public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: "Randy.Dunlap" <rddunlap@osdl.org>
To: David Woodhouse <dwmw2@infradead.org>
Cc: lkml <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] jffs2: printk arg. type warning
Date: Tue, 16 Nov 2004 10:14:26 -0800	[thread overview]
Message-ID: <419A4382.6000800@osdl.org> (raw)
In-Reply-To: <1100627479.8191.6985.camel@hades.cambridge.redhat.com>

[-- Attachment #1: Type: text/plain, Size: 290 bytes --]


> '%ud'?

ergh.  Here it is, corrected.

fix printk argument type warning:
fs/jffs2/gc.c:832: warning: signed size_t format, different type arg 
(arg 3)

diffstat:=
  fs/jffs2/gc.c |    2 +-
  1 files changed, 1 insertion(+), 1 deletion(-)

Signed-off-by: Randy Dunlap <rddunlap@osdl.org>

[-- Attachment #2: jffs2_gc_printk.patch --]
[-- Type: text/x-patch, Size: 616 bytes --]

diff -Naurp ./fs/jffs2/gc.c~jffs2_gc_printk ./fs/jffs2/gc.c
--- ./fs/jffs2/gc.c~jffs2_gc_printk	2004-11-15 10:02:00.966820400 -0800
+++ ./fs/jffs2/gc.c	2004-11-15 11:00:29.375461216 -0800
@@ -828,7 +828,7 @@ static int jffs2_garbage_collect_deletio
 				continue;
 			}
 			if (retlen != rawlen) {
-				printk(KERN_WARNING "jffs2_g_c_deletion_dirent(): Short read (%zd not %zd) reading header from obsolete node at %08x\n",
+				printk(KERN_WARNING "jffs2_g_c_deletion_dirent(): Short read (%zd not %u) reading header from obsolete node at %08x\n",
 				       retlen, rawlen, ref_offset(raw));
 				continue;
 			}

      reply	other threads:[~2004-11-16 18:27 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-11-15 19:43 [PATCH] jffs2: printk arg. type warning Randy.Dunlap
2004-11-16 17:51 ` David Woodhouse
2004-11-16 18:14   ` Randy.Dunlap [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=419A4382.6000800@osdl.org \
    --to=rddunlap@osdl.org \
    --cc=dwmw2@infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    /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