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