linux_old1/drivers/infiniband/hw
Mike Marciniszyn ec40f925e0 IB/qib: fix test of unsigned variable
Commit d4988623cc ("IB/qib: use arch_phys_wc_add()")
adjusted mtrr inititialization to use the new interface.

Unfortunately, the new interface returns a signed
value and the patch tested the unsigned wc_cookie.

Fix the issue by changing the type of wc_cookie to int.  For
the success case the ret left at zero to avoid
a warning from the caller.  For failure wc_cookie
is used as the ret.

Signed-off-by: Mike Marciniszyn <mike.marciniszyn@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
2015-05-12 13:55:41 -04:00
..
amso1100 IB/core: Replace ib_umem's offset field with a full address 2014-12-15 18:13:35 -08:00
cxgb3 RDMA/cxgb3: Remove a couple unneeded conditions 2014-05-28 10:04:00 -07:00
cxgb4 iw_cxgb4: use wildcard mapping for getting remote addr info 2015-05-11 17:16:49 -04:00
ehca IB/ehca: use correct destination for memcpy 2015-05-11 17:14:37 -04:00
ipath VFS: assorted weird filesystems: d_inode() annotations 2015-04-15 15:06:58 -04:00
mlx4 Merge branches 'cve-fixup', 'ipoib', 'iser', 'misc-4.1', 'or-mlx4' and 'srp' into for-4.1 2015-04-15 16:24:49 -04:00
mlx5 net/mlx5_core: Extend struct mlx5_interface to support multiple protocols 2015-04-02 16:33:43 -04:00
mthca IB/mad: add new ioctl to ABI to support new registration options 2014-08-10 20:36:00 -07:00
nes RDMA/nes: Report the actual address of the remote connecting peer 2015-05-05 09:18:01 -04:00
ocrdma RDMA/ocrdma: Fix off by one in ocrdma_query_gid() 2015-02-18 08:31:06 -08:00
qib IB/qib: fix test of unsigned variable 2015-05-12 13:55:41 -04:00
usnic IOMMU Updates for Linux v3.18 2014-10-15 07:23:49 +02:00
Makefile IB: Allow build of hw/ and ulp/ subdirectories independently 2014-06-02 14:51:12 -07:00