android_kernel_xiaomi_sdm845/drivers/infiniband/hw
Roland Dreier e8ffef73c8 IB/ipath: Avoid test_bit() on u64 SDMA status value
Gabriel C <nix.or.die@googlemail.com> pointed out that when the x86
bitops are updated to operate on unsigned long, the code in
sdma_abort_task() will produce warnings:

    drivers/infiniband/hw/ipath/ipath_sdma.c: In function 'sdma_abort_task':
    drivers/infiniband/hw/ipath/ipath_sdma.c:267: warning: passing argument 2 of 'constant_test_bit' from incompatible pointer type

and so on, because it uses test_bit() to operation on a u64 value
(returned by ipath_read_kref64() for a hardware register).

Fix up these warnings by converting the test_bit() operations to &ing
with appropriate symbolic defines of the bits within the hardware
register.  This has the benign side-effect of making the code more
self-documenting as well.

Signed-off-by: Roland Dreier <rolandd@cisco.com>
2008-05-26 15:20:34 -07:00
..
amso1100 IB: expand ib_umem_get() prototype 2008-04-29 08:06:12 -07:00
cxgb3 RDMA/cxgb3: Fix uninitialized variable warning in iwch_post_send() 2008-05-16 14:58:40 -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: Avoid test_bit() on u64 SDMA status value 2008-05-26 15:20:34 -07:00
mlx4 IB/mlx4: Fix creation of kernel QP with max number of send s/g entries 2008-05-20 14:00:02 -07:00
mthca IB/mthca: Fix max_sge value returned by query_device 2008-05-16 14:58:44 -07:00
nes RDMA/nes: Fix up nes_lro_max_aggr module parameter 2008-05-13 11:27:25 -07:00