public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: "Randy.Dunlap" <rdunlap@xenotime.net>
To: lkml <linux-kernel@vger.kernel.org>
Cc: akpm <akpm@osdl.org>, dwmw2 <dwmw2@infradead.org>
Subject: [PATCH -mm 3/5] MTD: printk format warning
Date: Mon, 7 Aug 2006 15:52:08 -0700	[thread overview]
Message-ID: <20060807155208.666d7ea3.rdunlap@xenotime.net> (raw)
In-Reply-To: <20060807155044.a8eee456.rdunlap@xenotime.net>

From: Randy Dunlap <rdunlap@xenotime.net>

Fix printk format warning(s):
drivers/mtd/mtd_blkdevs.c:72: warning: long int format, different type arg (arg 2)

Signed-off-by: Randy Dunlap <rdunlap@xenotime.net>
---
 drivers/mtd/mtd_blkdevs.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

--- linux-2618-rc3mm2.orig/drivers/mtd/mtd_blkdevs.c
+++ linux-2618-rc3mm2/drivers/mtd/mtd_blkdevs.c
@@ -69,7 +69,7 @@ static int do_blktrans_request(struct mt
 		return 1;
 
 	default:
-		printk(KERN_NOTICE "Unknown request %ld\n", rq_data_dir(req));
+		printk(KERN_NOTICE "Unknown request %d\n", rq_data_dir(req));
 		return 0;
 	}
 }


---

  reply	other threads:[~2006-08-07 22:56 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-08-07 22:47 [PATCH -mm 1/5] nbd: printk format warning Randy.Dunlap
2006-08-07 22:50 ` [PATCH -mm 2/5] cachefiles: " Randy.Dunlap
2006-08-07 22:52   ` Randy.Dunlap [this message]
2006-08-07 22:54     ` [PATCH -mm 4/5] scsi-target: printk format warnings Randy.Dunlap
2006-08-07 22:56       ` [PATCH -mm 5/5] usbnet: printk format warning Randy.Dunlap
2006-08-08  0:23         ` patch usbnet-printk-format-warning.patch added to gregkh-2.6 tree gregkh
2006-08-08  3:29         ` [PATCH -mm 5/5] usbnet: printk format warning Andrew Morton
2006-08-08  9:01   ` [PATCH -mm 2/5] cachefiles: " David Howells
2006-08-07 23:07 ` [PATCH -mm 1/5] nbd: " Pavel Machek
2006-08-07 23:31   ` Randy.Dunlap
2006-08-07 23:31     ` Pavel Machek
2006-08-07 23:43       ` 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=20060807155208.666d7ea3.rdunlap@xenotime.net \
    --to=rdunlap@xenotime.net \
    --cc=akpm@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