Searched hist:c41a73ffaf40aadc2c1e038ae4d12b62cd578e7f (Results 1 – 2 of 2) sorted by relevance
/openbmc/qemu/block/ |
H A D | qed-check.c | diff c41a73ffaf40aadc2c1e038ae4d12b62cd578e7f Tue May 31 11:35:53 CDT 2016 Laurent Vivier <lvivier@redhat.com> qed: Use DIV_ROUND_UP
Replace (((n) + (d) - 1) /(d)) by DIV_ROUND_UP(n,d).
This patch is the result of coccinelle script scripts/coccinelle/round.cocci
CC: qemu-block@nongnu.org Signed-off-by: Laurent Vivier <lvivier@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
|
H A D | qed.c | diff c41a73ffaf40aadc2c1e038ae4d12b62cd578e7f Tue May 31 11:35:53 CDT 2016 Laurent Vivier <lvivier@redhat.com> qed: Use DIV_ROUND_UP
Replace (((n) + (d) - 1) /(d)) by DIV_ROUND_UP(n,d).
This patch is the result of coccinelle script scripts/coccinelle/round.cocci
CC: qemu-block@nongnu.org Signed-off-by: Laurent Vivier <lvivier@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
|