commit | d55d282e6af88120ad90e93a88f70e3116dc0e3d | [log] [tgz] |
---|---|---|
author | Yang Yingliang <yangyingliang@huawei.com> | Thu Dec 12 10:57:22 2013 +0800 |
committer | David S. Miller <davem@davemloft.net> | Wed Dec 11 22:53:26 2013 -0500 |
tree | a0916db83806b2ec296ada4c9c62088a9813e4e5 | |
parent | 975022310233fb0f0193873d79a7b8438070fa82 [diff] |
sch_tbf: use do_div() for 64-bit divide It's doing a 64-bit divide which is not supported on 32-bit architectures in psched_ns_t2l(). The correct way to do this is to use do_div(). It's introduced by commit cc106e441a63 ("net: sched: tbf: fix the calculation of max_size") Reported-by: kbuild test robot <fengguang.wu@intel.com> Signed-off-by: Yang Yingliang <yangyingliang@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>