diff options
author | 2018-03-25 21:07:43 +0530 | |
---|---|---|
committer | 2018-03-29 09:36:01 +0200 | |
commit | b756816dad0aaca4f57c857a86a6a4a85a9f478b (patch) | |
tree | 24e5318b3e6675915b930d114b21365dd81524ab /tools/perf/scripts/python/export-to-postgresql.py | |
parent | mtd: Fix some function description mismatches in mtdcore.c (diff) | |
download | wireguard-linux-b756816dad0aaca4f57c857a86a6a4a85a9f478b.tar.xz wireguard-linux-b756816dad0aaca4f57c857a86a6a4a85a9f478b.zip |
mtd: ftl: Use DIV_ROUND_UP()
The kernel.h macro DIV_ROUND_UP performs the computation
(((n) + (d) - 1) / (d)) but is perhaps more readable.
Signed-off-by: Arushi Singhal <arushisinghal19971997@gmail.com>
Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions