OpenCloudOS-Kernel/drivers/infiniband/ulp/iser
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
..
Kconfig Update broken web addresses in the kernel. 2010-10-18 11:03:14 +02:00
Makefile
iscsi_iser.c scsi: flip the default on use_clustering 2018-12-18 23:13:12 -05:00
iscsi_iser.h IB/iser: Fix dma_nents type definition 2019-03-04 15:40:25 -04:00
iser_initiator.c IB/iser: Fix possible NULL deref at iser_inv_desc() 2018-09-28 09:53:49 -06:00
iser_memory.c IB/core: Remove ib_sg_dma_address() and ib_sg_dma_len() 2019-02-04 14:34:07 -07:00
iser_verbs.c iser: set sector for ambiguous mr status errors 2018-11-21 16:03:43 -07:00