aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts
diff options
context:
space:
mode:
authorBhaktipriya Shridhar <[email protected]>2016-02-22 17:57:42 +0530
committerGreg Kroah-Hartman <[email protected]>2016-02-25 22:35:10 -0800
commitdce57aef61ae49edf45df6fc09609e8da9b57265 (patch)
tree89f46efac622be7bf24616be0aa4839ce09ab42b /tools/perf/scripts
parent3e8b9fe0602a25e37806e7b92408970da460b0e2 (diff)
staging: most: hdm-usb: Use macro DIV_ROUND_UP
The macro DIV_ROUND_UP performs the computation (((n) + (d) - 1) /(d)). It clarifies the divisor calculations. This occurence was detected using the coccinelle script: @@ expression e1; expression e2; @@ ( - ((e1) + e2 - 1) / (e2) + DIV_ROUND_UP(e1,e2) | - ((e1) + (e2 - 1))/ (e2) + DIV_ROUND_UP(e1,e2) ) The macro CEILING was dropped altogether and has been replaced with DIV_ROUND_UP. Signed-off-by: Bhaktipriya Shridhar <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts')
0 files changed, 0 insertions, 0 deletions