mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] ioc4: fix printk format warning
@ 2006-10-24  4:43 Randy Dunlap
  2006-10-24 19:44 ` Brent Casavant
  0 siblings, 1 reply; 2+ messages in thread
From: Randy Dunlap @ 2006-10-24  4:43 UTC (permalink / raw)
  To: lkml; +Cc: bcasavan, akpm

From: Randy Dunlap <randy.dunlap@oracle.com>

Fix printk format warning:
drivers/misc/ioc4.c:213: warning: long long int format, u64 arg (arg 3)

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
---

 drivers/misc/ioc4.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

--- linux-2619-rc3-pv.orig/drivers/misc/ioc4.c
+++ linux-2619-rc3-pv/drivers/misc/ioc4.c
@@ -209,8 +209,8 @@ ioc4_clock_calibrate(struct ioc4_driver_
 
 		do_div(ns, IOC4_EXTINT_COUNT_DIVISOR);
 		printk(KERN_DEBUG
-		       "IOC4 %s: PCI clock is %lld ns.\n",
-		       pci_name(idd->idd_pdev), ns);
+		       "IOC4 %s: PCI clock is %llu ns.\n",
+		       pci_name(idd->idd_pdev), (unsigned long long)ns);
 	}
 
 	/* Remember results.  We store the extint clock period rather


---

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] ioc4: fix printk format warning
  2006-10-24  4:43 [PATCH] ioc4: fix printk format warning Randy Dunlap
@ 2006-10-24 19:44 ` Brent Casavant
  0 siblings, 0 replies; 2+ messages in thread
From: Brent Casavant @ 2006-10-24 19:44 UTC (permalink / raw)
  To: Randy Dunlap; +Cc: lkml, akpm

This change is fine by me.

Acked-by: Brent Casavant <bcasavan@sgi.com>

On Mon, 23 Oct 2006, Randy Dunlap wrote:

> From: Randy Dunlap <randy.dunlap@oracle.com>
> 
> Fix printk format warning:
> drivers/misc/ioc4.c:213: warning: long long int format, u64 arg (arg 3)
> 
> Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
> ---
> 
>  drivers/misc/ioc4.c |    4 ++--
>  1 files changed, 2 insertions(+), 2 deletions(-)
> 
> --- linux-2619-rc3-pv.orig/drivers/misc/ioc4.c
> +++ linux-2619-rc3-pv/drivers/misc/ioc4.c
> @@ -209,8 +209,8 @@ ioc4_clock_calibrate(struct ioc4_driver_
>  
>  		do_div(ns, IOC4_EXTINT_COUNT_DIVISOR);
>  		printk(KERN_DEBUG
> -		       "IOC4 %s: PCI clock is %lld ns.\n",
> -		       pci_name(idd->idd_pdev), ns);
> +		       "IOC4 %s: PCI clock is %llu ns.\n",
> +		       pci_name(idd->idd_pdev), (unsigned long long)ns);
>  	}
>  
>  	/* Remember results.  We store the extint clock period rather
> 
> 
> ---
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at  http://www.tux.org/lkml/
> 

-- 
Brent Casavant                          All music is folk music.  I ain't
bcasavan@sgi.com                        never heard a horse sing a song.
Silicon Graphics, Inc.                    -- Louis Armstrong

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-10-24 19:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-10-24  4:43 [PATCH] ioc4: fix printk format warning Randy Dunlap
2006-10-24 19:44 ` Brent Casavant

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome