commit | 5f016f42d342b25625de51dbd14af814c35ad70e | [log] [tgz] |
---|---|---|
author | Vladimir Oltean <vladimir.oltean@nxp.com> | Sun Feb 14 00:37:53 2021 +0200 |
committer | David S. Miller <davem@davemloft.net> | Sun Feb 14 17:31:43 2021 -0800 |
tree | ba1de20d88cb3ff599711778159af236ccc32228 | |
parent | a94306cea56fe49d74cd36950858c2bcbb5de6c8 [diff] |
net: mscc: ocelot: use DIV_ROUND_UP helper in ocelot_port_inject_frame This looks a bit nicer than the open-coded "(x + 3) % 4" idiom. Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com> Reviewed-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>