Fix gcc printk warnings:
drivers/usb/core/hcd.c:1689: warning: long long unsigned int format, u64 arg 
(arg 6)
drivers/usb/core/hcd.c:1695: warning: long long unsigned int format, u64 arg 
(arg 5)

Signed-off-by: Randy Dunlap <[EMAIL PROTECTED]>

diffstat:=
 drivers/usb/core/hcd.c |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff -Naurp ./drivers/usb/core/hcd.c~hcd_printk ./drivers/usb/core/hcd.c
--- ./drivers/usb/core/hcd.c~hcd_printk 2005-03-14 15:28:25.000000000 -0800
+++ ./drivers/usb/core/hcd.c    2005-03-16 21:05:56.000000000 -0800
@@ -1688,13 +1688,15 @@ int usb_add_hcd(struct usb_hcd *hcd,
                hcd->irq = irqnum;
                dev_info(hcd->self.controller, "irq %s, %s 0x%08llx\n", bufp,
                                (hcd->driver->flags & HCD_MEMORY) ?
-                                       "io mem" : "io base", hcd->rsrc_start);
+                                       "io mem" : "io base",
+                                       (unsigned long long)hcd->rsrc_start);
        } else {
                hcd->irq = -1;
                if (hcd->rsrc_start)
                        dev_info(hcd->self.controller, "%s 0x%08llx\n",
                                        (hcd->driver->flags & HCD_MEMORY) ?
-                                       "io mem" : "io base", hcd->rsrc_start);
+                                       "io mem" : "io base",
+                                       (unsigned long long)hcd->rsrc_start);
        }
 
        if ((retval = hcd->driver->start(hcd)) < 0) {

---


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to