Files
linux/drivers
Roland Dreier cd80ec6f81 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>
2008-05-15 15:28:55 -07:00
..
2008-05-06 11:43:44 -04:00
2008-05-15 10:19:30 -07:00
2008-05-05 15:08:38 -07:00
2008-04-29 08:06:27 -07:00
2008-05-12 16:46:50 +01:00
2008-05-14 23:06:16 +02:00
2008-05-01 08:03:59 -07:00
2008-04-29 08:06:18 -07:00
2008-05-14 19:11:14 -07:00
2008-05-05 00:33:58 -07:00
2008-04-30 08:29:52 -07:00
2008-04-30 08:29:52 -07:00