Skip to content

Commit

Permalink
ieee1394: fix printk format warning
Browse files Browse the repository at this point in the history
Fix printk format warning:
drivers/ieee1394/nodemgr.c:364: warning: long long unsigned int format, u64 arg (arg 3)

Signed-off-by: Randy Dunlap <[email protected]>
Signed-off-by: Stefan Richter <[email protected]>
  • Loading branch information
rddunlap authored and Stefan Richter committed Dec 7, 2006
1 parent b07375b commit 7f58803
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/ieee1394/nodemgr.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit 7f58803

Please sign in to comment.