From: James Smart <James.Smart@Emulex.Com>
To: Randy Dunlap <randy.dunlap@oracle.com>
Cc: scsi <linux-scsi@vger.kernel.org>,
jejb <james.bottomley@steeleye.com>, akpm <akpm@osdl.org>
Subject: Re: [PATCH] lpfc: fix printk format warning
Date: Tue, 24 Oct 2006 07:46:28 -0400 [thread overview]
Message-ID: <453DFD14.5060500@emulex.com> (raw)
In-Reply-To: <20061023214713.cfff635b.randy.dunlap@oracle.com>
ack...
-- james s
Randy Dunlap wrote:
> From: Randy Dunlap <randy.dunlap@oracle.com>
>
> Fix printk format warning:
> drivers/scsi/lpfc/lpfc_attr.c:597: warning: long long unsigned int format, uint64_t arg (arg 4)
>
> Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
> ---
>
> drivers/scsi/lpfc/lpfc_attr.c | 3 ++-
> 1 files changed, 2 insertions(+), 1 deletion(-)
>
> --- linux-2619-rc3-pv.orig/drivers/scsi/lpfc/lpfc_attr.c
> +++ linux-2619-rc3-pv/drivers/scsi/lpfc/lpfc_attr.c
> @@ -594,7 +594,8 @@ lpfc_soft_wwpn_show(struct class_device
> {
> struct Scsi_Host *host = class_to_shost(cdev);
> struct lpfc_hba *phba = (struct lpfc_hba*)host->hostdata;
> - return snprintf(buf, PAGE_SIZE, "0x%llx\n", phba->cfg_soft_wwpn);
> + return snprintf(buf, PAGE_SIZE, "0x%llx\n",
> + (unsigned long long)phba->cfg_soft_wwpn);
> }
>
>
>
>
> ---
>
prev parent reply other threads:[~2006-10-24 11:46 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-10-24 4:47 [PATCH] lpfc: fix printk format warning Randy Dunlap
2006-10-24 11:46 ` James Smart [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=453DFD14.5060500@emulex.com \
--to=james.smart@emulex.com \
--cc=akpm@osdl.org \
--cc=james.bottomley@steeleye.com \
--cc=linux-scsi@vger.kernel.org \
--cc=randy.dunlap@oracle.com \
/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