[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-stable] [PATCH v3] fixup! iscsi: Fix divide-by-zero regression
From: |
Eric Blake |
Subject: |
Re: [Qemu-stable] [PATCH v3] fixup! iscsi: Fix divide-by-zero regression on raw SG devices |
Date: |
Thu, 22 Sep 2016 14:03:32 -0500 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.3.0 |
On 09/22/2016 01:30 PM, Paolo Bonzini wrote:
>
>> 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.
>
> I just replaced MIN_NON_ZERO with MAX.
>
Works for me, and a bit more elegant.
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature