mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: John Kacur <jkacur@redhat.com>
To: Dan Nicholson <dbn.lists@gmail.com>
Cc: linux-kernel <linux-kernel@vger.kernel.org>,
	Dave Airlie <airlied@linux.ie>,
	FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>,
	Jerome Glisse <jglisse@redhat.com>,
	Johannes Hirte <johannes.hirte@fem.tu-ilmenau.de>,
	dri-devel <dri-devel@lists.sf.net>,
	Alex Deucher <alexdeucher@gmail.com>,
	Kevin Winchester <kjwinchester@gmail.com>,
	Linus Torvalds <torvalds@linux-foundation.org>,
	Ingo Molnar <mingo@elte.hu>
Subject: Re: [PATCH] radeon_agp: Fix warning, format ‘%d’ expects type ‘int’, but argument 4 has type ‘size_t’
Date: Sun, 31 Jan 2010 20:29:21 +0100 (CET)	[thread overview]
Message-ID: <alpine.LFD.2.00.1001312028130.17637@localhost.localdomain> (raw)
In-Reply-To: <91705d081001311102m63cb3edfib8df864ca580e736@mail.gmail.com>

[-- Attachment #1: Type: TEXT/PLAIN, Size: 1191 bytes --]



On Sun, 31 Jan 2010, Dan Nicholson wrote:

> On Sat, Jan 30, 2010 at 12:51 PM, John Kacur <jkacur@redhat.com> wrote:
> > Fix warning by using %zu instead of %d for size_t
> >
> > Signed-off-by: John Kacur <jkacur@redhat.com>
> > ---
> >  drivers/gpu/drm/radeon/radeon_agp.c |    2 +-
> >  1 files changed, 1 insertions(+), 1 deletions(-)
> >
> > diff --git a/drivers/gpu/drm/radeon/radeon_agp.c b/drivers/gpu/drm/radeon/radeon_agp.c
> > index c9ad7f5..1c4e523 100644
> > --- a/drivers/gpu/drm/radeon/radeon_agp.c
> > +++ b/drivers/gpu/drm/radeon/radeon_agp.c
> > @@ -134,7 +134,7 @@ int radeon_agp_init(struct radeon_device *rdev)
> >        int ret;
> >
> >        if (rdev->ddev->agp->agp_info.aper_size < 32) {
> > -               dev_warn(rdev->dev, "AGP aperture to small (%dM) "
> > +               dev_warn(rdev->dev, "AGP aperture to small (%zuM) "
> 
> As long as you're fixing this line, you might want to correct the
> grammar s/to/too/.

Thanks, I saw that too, after I sent. Unfortunately, I have to respin both 
patches, because there is a merge conflict after fixing the 
grammar/spelling mistake.

Both patches coming up, in a separate mail.

John

  reply	other threads:[~2010-01-31 19:30 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-01-30 20:51 [PATCH] radeon_agp_init fixes John Kacur
2010-01-30 20:51 ` [PATCH] radeon_agp: Fix warning, format ‘%d’ expects type ‘int’, but argument 4 has type ‘size_t’ John Kacur
2010-01-31 19:02   ` Dan Nicholson
2010-01-31 19:29     ` John Kacur [this message]
2010-01-30 20:51 ` [PATCH] radeon_agp: Move the check of the aper_size after drm_acp_acquire and drm_agp_info John Kacur

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=alpine.LFD.2.00.1001312028130.17637@localhost.localdomain \
    --to=jkacur@redhat.com \
    --cc=airlied@linux.ie \
    --cc=alexdeucher@gmail.com \
    --cc=dbn.lists@gmail.com \
    --cc=dri-devel@lists.sf.net \
    --cc=fujita.tomonori@lab.ntt.co.jp \
    --cc=jglisse@redhat.com \
    --cc=johannes.hirte@fem.tu-ilmenau.de \
    --cc=kjwinchester@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@elte.hu \
    --cc=torvalds@linux-foundation.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

all inboxes | Powered by JetHome®