linux-ide.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jeff Garzik <jeff@garzik.org>
To: akpm@linux-foundation.org
Cc: linux-ide@vger.kernel.org
Subject: Re: [patch 1/9] drivers/ata/libata-eh.c: fix printk warning
Date: Tue, 18 Dec 2007 16:20:23 -0500	[thread overview]
Message-ID: <47683997.9090608@garzik.org> (raw)
In-Reply-To: <200712140001.lBE01bbR025425@imap1.linux-foundation.org>

akpm@linux-foundation.org wrote:
> From: Andrew Morton <akpm@linux-foundation.org>
> 
> drivers/ata/libata-eh.c: In function `ata_port_pbar_desc':
> drivers/ata/libata-eh.c:215: warning: long long unsigned int format, long unsigned int arg (arg 4)
> 
> Cc: Jeff Garzik <jeff@garzik.org>
> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
> ---
> 
>  drivers/ata/libata-eh.c |    3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff -puN drivers/ata/libata-eh.c~drivers-ata-libata-ehc-fix-printk-warning drivers/ata/libata-eh.c
> --- a/drivers/ata/libata-eh.c~drivers-ata-libata-ehc-fix-printk-warning
> +++ a/drivers/ata/libata-eh.c
> @@ -231,7 +231,8 @@ void ata_port_pbar_desc(struct ata_port 
>  	if (offset < 0)
>  		ata_port_desc(ap, "%s %s%llu@0x%llx", name, type, len, start);
>  	else
> -		ata_port_desc(ap, "%s 0x%llx", name, start + offset);
> +		ata_port_desc(ap, "%s 0x%llx", name,
> +				start + (unsigned long long)offset);
>  }

applied #upstream



      reply	other threads:[~2007-12-18 21:20 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-12-14  0:01 [patch 1/9] drivers/ata/libata-eh.c: fix printk warning akpm
2007-12-18 21:20 ` Jeff Garzik [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=47683997.9090608@garzik.org \
    --to=jeff@garzik.org \
    --cc=akpm@linux-foundation.org \
    --cc=linux-ide@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;
as well as URLs for NNTP newsgroup(s).