From: "Randy.Dunlap" <rddunlap@osdl.org>
To: dwmw2@infradead.org, lkml <linux-kernel@vger.kernel.org>
Subject: [PATCH] jffs2: printk arg. type warning
Date: Mon, 15 Nov 2004 11:43:02 -0800 [thread overview]
Message-ID: <419906C6.9020709@osdl.org> (raw)
[-- Attachment #1: Type: text/plain, Size: 254 bytes --]
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: 618 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 %ud) reading header from obsolete node at %08x\n",
retlen, rawlen, ref_offset(raw));
continue;
}
next reply other threads:[~2004-11-15 20:03 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-11-15 19:43 Randy.Dunlap [this message]
2004-11-16 17:51 ` [PATCH] jffs2: printk arg. type warning David Woodhouse
2004-11-16 18:14 ` Randy.Dunlap
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=419906C6.9020709@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