Re: [PATCH 2/2] net: openvswitch: use div_u64() for 64-by-32 divisions
From: David Miller
Date: Sat Apr 25 2020 - 23:48:49 EST
From: xiangxia.m.yue@xxxxxxxxx
Date: Sat, 25 Apr 2020 11:39:48 +0800
> From: Tonghao Zhang <xiangxia.m.yue@xxxxxxxxx>
>
> Compile the kernel for arm 32 platform, the build warning found.
> To fix that, should use div_u64() for divisions.
> | net/openvswitch/meter.c:396: undefined reference to `__udivdi3'
>
> [add more commit msg, change reported tag, and use div_u64 instead
> of do_div by Tonghao]
>
> Fixes: e57358873bb5d6ca ("net: openvswitch: use u64 for meter bucket")
> Reported-by: kbuild test robot <lkp@xxxxxxxxx>
> Signed-off-by: Tonghao Zhang <xiangxia.m.yue@xxxxxxxxx>
> Tested-by: Tonghao Zhang <xiangxia.m.yue@xxxxxxxxx>
Applied.