diff options
author | Roland Dreier <rolandd@cisco.com> | 2008-05-15 15:28:55 -0700 |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2008-05-15 15:28:55 -0700 |
commit | cd80ec6f81db89d109187a673470c04af4c09a63 (patch) | |
tree | ca46c8f6d51fd578e8eec366ed7f2638af0ec71a /lib | |
parent | 7371fd11a6e2aed99895db4f100940fa5022f7fe (diff) |
IB/ipath: Fix printk format for ipath_sdma_status
Commit f018c7e1 ("IB/ipath: Change ipath_devdata.ipath_sdma_status to be
unsigned long") changed ipath_sdma_status to be unsigned long, but left
a few debug messages that printed it out with a %016llx format, which
generates the warnings
drivers/infiniband/hw/ipath/ipath_sdma.c:348: warning: format '%016llx' expects type 'long long unsigned int', but argument 3 has type 'long unsigned int'
drivers/infiniband/hw/ipath/ipath_sdma.c:618: warning: format '%016llx' expects type 'long long unsigned int', but argument 3 has type 'long unsigned int'
Fix this by changing the format used to print out the value to %08lx
(8 hex digits are now sufficient, because the highest bit used is 31).
Warnings reported by Randy Dunlap <randy.dunlap@oracle.com>.
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions