diff options
author | Tonghao Zhang <[email protected]> | 2020-04-25 11:39:48 +0800 |
---|---|---|
committer | David S. Miller <[email protected]> | 2020-04-25 20:48:21 -0700 |
commit | 659d4587fe7233bfdff303744b20d6f41ad04362 (patch) | |
tree | 7f360ce3f991f68e75f17271535bccda1a5ca086 /tools/lib/bpf/bpf_helpers.h | |
parent | 4b36a0dff794a00989a50581aed2f94c88b57107 (diff) |
net: openvswitch: use div_u64() for 64-by-32 divisions
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 <[email protected]>
Signed-off-by: Tonghao Zhang <[email protected]>
Tested-by: Tonghao Zhang <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/lib/bpf/bpf_helpers.h')
0 files changed, 0 insertions, 0 deletions