mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: David Woodhouse <dwmw2@infradead.org>
To: Jeff Garzik <jeff@garzik.org>
Cc: Andrew Morton <akpm@osdl.org>,
	LKML <linux-kernel@vger.kernel.org>,
	axboe@kernel.dk, rdunlap@xenotime.net
Subject: Re: [PATCH] MTD: fix printk warning
Date: Sun, 01 Oct 2006 18:23:17 +0100	[thread overview]
Message-ID: <1159723397.3257.25.camel@pmac.infradead.org> (raw)
In-Reply-To: <20061001161600.GA7636@havoc.gtf.org>

On Sun, 2006-10-01 at 12:16 -0400, Jeff Garzik wrote:
> gcc spits out this warning:
> 
> drivers/mtd/mtd_blkdevs.c: In function ‘do_blktrans_request’:
> drivers/mtd/mtd_blkdevs.c:72: warning: format ‘%ld’ expects type ‘long int’, but argument 2 has type ‘unsigned int’

> -		printk(KERN_NOTICE "Unknown request %ld\n", rq_data_dir(req));
> +		printk(KERN_NOTICE "Unknown request %u\n", rq_data_dir(req));

Applied; thanks. I'd applied it once already and reverted it because it
seemed wrong -- but now the change which made it necessary is upstream.

-- 
dwmw2


      reply	other threads:[~2006-10-01 17:24 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-10-01 16:16 Jeff Garzik
2006-10-01 17:23 ` David Woodhouse [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=1159723397.3257.25.camel@pmac.infradead.org \
    --to=dwmw2@infradead.org \
    --cc=akpm@osdl.org \
    --cc=axboe@kernel.dk \
    --cc=jeff@garzik.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rdunlap@xenotime.net \
    /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

all inboxes | Powered by JetHome®