]> git.ipfire.org Git - thirdparty/systemd.git/blame - coccinelle/div-round-up.cocci
test: Disable LUKS devices from initramfs in QEMU tests
[thirdparty/systemd.git] / coccinelle / div-round-up.cocci
CommitLineData
be6b0c21
LP
1@@
2expression x, y;
3@@
4- ((x + y - 1) / y)
5+ DIV_ROUND_UP(x, y)
6@@
7expression x, y;
8@@
9- ((x + (y - 1)) / y)
10+ DIV_ROUND_UP(x, y)
11@@
12expression x, y;
13@@
14- (x + y - 1) / y
15+ DIV_ROUND_UP(x, y)
16@@
17expression x, y;
18@@
19- (x + (y - 1)) / y
20+ DIV_ROUND_UP(x, y)