Re: [PATCH rdma-next V2 1/5] RDMA/ipoib: Use min_t() macro instead of min()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Jul 05, 2018 at 12:52:47AM +0300, Kamal Heib wrote:
> 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@xxxxxxxxx>
> ---
>  drivers/infiniband/ulp/ipoib/ipoib_cm.c | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
>

Thanks,
Reviewed-by: Leon Romanovsky <leonro@xxxxxxxxxxxx>

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux