diff options
author | Kamal Heib <kamalheib1@gmail.com> | 2018-07-05 00:52:47 +0300 |
---|---|---|
committer | Jason Gunthorpe <jgg@mellanox.com> | 2018-07-09 21:02:42 +0300 |
commit | 299c36b1efe7a34ff255788592d835e913163a4d (patch) | |
tree | cadb22942a8dcb64e8d0533d945523766b3b1c63 /lib/parman.c | |
parent | 87a37ce9e400e40daee537ff95343e3c94743c6d (diff) | |
download | linux-299c36b1efe7a34ff255788592d835e913163a4d.tar.xz |
RDMA/ipoib: Use min_t() macro instead of min()
Use min_t() macro to avoid the casting when using min() macro, also fix
the type of "length" and "wc->byte_len" to be "unsigned int" and
"u32" which is the right type for each one of them.
Signed-off-by: Kamal Heib <kamalheib1@gmail.com>
Reviewed-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'lib/parman.c')
0 files changed, 0 insertions, 0 deletions