From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:59068) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b7nmz-0002CW-Mx for qemu-devel@nongnu.org; Tue, 31 May 2016 13:49:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b7nmw-0005xu-J7 for qemu-devel@nongnu.org; Tue, 31 May 2016 13:49:13 -0400 References: <1464712565-14857-1-git-send-email-lvivier@redhat.com> <1464712565-14857-5-git-send-email-lvivier@redhat.com> From: Eric Blake Message-ID: <574DCE8E.6000703@redhat.com> Date: Tue, 31 May 2016 11:49:02 -0600 MIME-Version: 1.0 In-Reply-To: <1464712565-14857-5-git-send-email-lvivier@redhat.com> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="RcaRwbEQ7bp9m7W0j8ip7Xp1p5jhJE4Fp" Subject: Re: [Qemu-devel] [PATCH 04/16] qed: Use DIV_ROUND_UP List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Laurent Vivier , qemu-trivial@nongnu.org, qemu-devel@nongnu.org Cc: qemu-block@nongnu.org This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --RcaRwbEQ7bp9m7W0j8ip7Xp1p5jhJE4Fp Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 05/31/2016 10:35 AM, Laurent Vivier wrote: > Replace (((n) + (d) - 1) /(d)) by DIV_ROUND_UP(n,d). >=20 > This patch is the result of coccinelle script > scripts/coccinelle/round.cocci >=20 > CC: qemu-block@nongnu.org > Signed-off-by: Laurent Vivier > --- > block/qed-check.c | 3 +-- > block/qed.c | 3 +-- > 2 files changed, 2 insertions(+), 4 deletions(-) >=20 Reviewed-by: Eric Blake --=20 Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org --RcaRwbEQ7bp9m7W0j8ip7Xp1p5jhJE4Fp Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 Comment: Public key at http://people.redhat.com/eblake/eblake.gpg Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBCAAGBQJXTc6OAAoJEKeha0olJ0NqolAIAJbZArvHjF7kn1ax9YYRYB+H EvM5HyCTd2VRhZGagWwkGXvjnreSLe7rw7SVZ/uYAX8w5xNEfriF0plHCuOMhKaZ HCjiOGOfCGj3yfLGPmCHfFnVz4JmzYPl4Lfod8SuZHbPzaixWmCeR4viZq7tdu4b OUc2pWvwvI2WIubqPEeVT/xTYwU6qheu7gp0Dn30vPMNo2+vrHNg0rnayNep859E MxkcXemj+wjurkjUUvNI1z8zveJSB/KMuglXJAnenK6kfToVx1IPgyPwe9Ss0tOB i9t7FTlsBrS8EyTASU4Kwq2IjXkEpKr1DnDm5XNbfA1mDLQGT7T0GcMYMSRsYNw= =0KCY -----END PGP SIGNATURE----- --RcaRwbEQ7bp9m7W0j8ip7Xp1p5jhJE4Fp--