linux-stable/drivers/infiniband/hw
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
..
amso1100 IB: expand ib_umem_get() prototype 2008-04-29 08:06:12 -07:00
cxgb3 RDMA/cxgb3: Wrap the software send queue pointer as needed on flush 2008-05-13 11:52:55 -07:00
ehca IB/ehca: Wait for async events to finish before destroying QP 2008-05-07 11:35:06 -07:00
ipath IB/ipath: Fix printk format for ipath_sdma_status 2008-05-15 15:28:55 -07:00
mlx4 IB/mlx4: Fix off-by-one errors in calls to mlx4_ib_free_cq_buf() 2008-04-30 19:52:55 -07:00
mthca IB/mthca: Avoid changing userspace ABI to handle DMA write barrier attribute 2008-04-29 13:46:53 -07:00
nes RDMA/nes: Fix up nes_lro_max_aggr module parameter 2008-05-13 11:27:25 -07:00