2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-29 15:43:59 +08:00
linux-next/drivers/infiniband/ulp
Max Gurtovoy c1545f1a20 IB/iser: Fix dma_nents type definition
The retured value from ib_dma_map_sg saved in dma_nents variable. To avoid
future mismatch between types, define dma_nents as an integer instead of
unsigned.

Fixes: 57b26497fa ("IB/iser: Pass the correct number of entries for dma mapped SGL")
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: Israel Rukshin <israelr@mellanox.com>
Signed-off-by: Max Gurtovoy <maxg@mellanox.com>
Acked-by: Sagi Grimberg <sagi@grimberg.me>
Reviewed-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
2019-03-04 15:40:25 -04:00
..
ipoib RDMA: Add and use rdma_for_each_port 2019-02-19 10:13:39 -07:00
iser IB/iser: Fix dma_nents type definition 2019-03-04 15:40:25 -04:00
isert infiniband: remove unneeded header search paths 2019-01-25 15:28:50 -07:00
opa_vnic RDMA: Mark if destroy address handle is in a sleepable context 2018-12-19 16:28:03 -07:00
srp RDMA: Add and use rdma_for_each_port 2019-02-19 10:13:39 -07:00
srpt infiniband: remove unneeded header search paths 2019-01-25 15:28:50 -07:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00