]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
ieee1394: fix printk format warning
authorRandy Dunlap <randy.dunlap@oracle.com>
Tue, 24 Oct 2006 04:44:36 +0000 (21:44 -0700)
committerStefan Richter <stefanr@s5r6.in-berlin.de>
Thu, 7 Dec 2006 20:32:19 +0000 (21:32 +0100)
Fix printk format warning:
drivers/ieee1394/nodemgr.c:364: warning: long long unsigned int format, u64 arg (arg 3)

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
drivers/ieee1394/nodemgr.c

index e2ca8e92f43fb27584afcbb5274eaa21395aa1cf..640d677ae03e3d877d4dca60fa1ca163d905572d 100644 (file)
@@ -362,7 +362,7 @@ static ssize_t fw_show_ne_tlabels_mask(struct device *dev,
 #endif
        spin_unlock_irqrestore(&hpsb_tlabel_lock, flags);
 
-       return sprintf(buf, "0x%016llx\n", tm);
+       return sprintf(buf, "0x%016llx\n", (unsigned long long)tm);
 }
 static DEVICE_ATTR(tlabels_mask, S_IRUGO, fw_show_ne_tlabels_mask, NULL);
 #endif /* HPSB_DEBUG_TLABELS */