Received: from eggs.gnu.org ([2001:4830:134:3::10]:36561) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bn9Hb-0006oW-RG for qemu-devel@nongnu.org; Thu, 22 Sep 2016 15:03:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bn9HZ-0005S9-UJ for qemu-devel@nongnu.org; Thu, 22 Sep 2016 15:03:42 -0400 References: <1474565933-26107-1-git-send-email-eblake@redhat.com> <21bf574e-190c-6363-4b63-85f3a9d119fb@redhat.com> From: Eric Blake Message-ID: Date: Thu, 22 Sep 2016 14:03:32 -0500 MIME-Version: 1.0 In-Reply-To: <21bf574e-190c-6363-4b63-85f3a9d119fb@redhat.com> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="XfU4v1h5CA3VLn2nTPxlqdN99NWrLlNRU" Subject: Re: [Qemu-devel] [PATCH v3] fixup! iscsi: Fix divide-by-zero regression on raw SG devices List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paolo Bonzini , qemu-devel@nongnu.org Cc: qemu-stable@nongnu.org, Ronnie Sahlberg , Peter Lieven , Kevin Wolf , Max Reitz , "open list:iSCSI" This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --XfU4v1h5CA3VLn2nTPxlqdN99NWrLlNRU From: Eric Blake To: Paolo Bonzini , qemu-devel@nongnu.org Cc: qemu-stable@nongnu.org, Ronnie Sahlberg , Peter Lieven , Kevin Wolf , Max Reitz , "open list:iSCSI" Message-ID: Subject: Re: [PATCH v3] fixup! iscsi: Fix divide-by-zero regression on raw SG devices References: <1474565933-26107-1-git-send-email-eblake@redhat.com> <21bf574e-190c-6363-4b63-85f3a9d119fb@redhat.com> In-Reply-To: <21bf574e-190c-6363-4b63-85f3a9d119fb@redhat.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 09/22/2016 01:30 PM, Paolo Bonzini wrote: >=20 >> Paolo just sent a pull request, but if I'm not too late, this should >> be squashed in. If I am too late, then we can rework the commit >> message to make it this is an obvious followup. >=20 > I just replaced MIN_NON_ZERO with MAX. >=20 Works for me, and a bit more elegant. --=20 Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org --XfU4v1h5CA3VLn2nTPxlqdN99NWrLlNRU 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/ iQEcBAEBCAAGBQJX5CsEAAoJEKeha0olJ0Nq6lgH/ig+g/kAvz408k9DipilK2uW bagEgvysTRuUOHqjhheTUhvu8Y+EarFVy51aHK4/M3x7hEmJV/hB4IqrMQRsbm0v tnjSGlZkLiWSFL1FhFxsk0s+fHFD2q51ADZO1o4MYVHhiMqikV9NYW3bp0H3xUxT DK1ucd3WdcWDDvls8ikgOm/ogYR1rSV8hqoflQqMuLqLYuoM/nuoWxZhv05TuDR0 XveJzBpFqHN5f0/n/9ftUIkg58FcBplyLezPd/0Q9WTyuQ4VmnM81gTM7fVxxrUn knAVJ1TRg9PSBz6ihIQq0dVNAioMxwiNt3ly6W0Zxk8YS8QGmh9R2RXKctLcS9k= =UzdE -----END PGP SIGNATURE----- --XfU4v1h5CA3VLn2nTPxlqdN99NWrLlNRU--