diff options
author | Max Gurtovoy <maxg@mellanox.com> | 2019-02-26 11:22:11 +0100 |
---|---|---|
committer | Jason Gunthorpe <jgg@mellanox.com> | 2019-03-04 20:40:25 +0100 |
commit | c1545f1a200f4adc4ef8dd534bf33e2f1aa22c2f (patch) | |
tree | 80fed64b3b109089efae2b0b89bda0d57d85092b /drivers/ide/ide-park.c | |
parent | IB/mlx5: Set correct write permissions for implicit ODP MR (diff) | |
download | linux-c1545f1a200f4adc4ef8dd534bf33e2f1aa22c2f.tar.xz linux-c1545f1a200f4adc4ef8dd534bf33e2f1aa22c2f.zip |
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: 57b26497fabe ("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>
Diffstat (limited to 'drivers/ide/ide-park.c')
0 files changed, 0 insertions, 0 deletions