On 21 September 2017 at 13:25, Stefan Hajnoczi <stefa...@gmail.com> wrote:
> On Wed, Sep 20, 2017 at 09:38:21PM -0400, John Snow wrote:
>> Apparently GCC gets bent over comparing enum values against zero.
>> Replace the conditional with something less readable.
>>
>> Tested-by: Mark Cave-Ayland <mark.cave-ayl...@ilande.co.uk>
>> Signed-off-by: John Snow <js...@redhat.com>
>>
>> ---
>>
>> v2: Second verse, same as the first.
>> Signed-off-by: John Snow <js...@redhat.com>
>> ---
>>  hw/ide/ahci.c             | 2 +-
>>  hw/ide/core.c             | 2 +-
>>  include/hw/ide/internal.h | 3 +--
>>  3 files changed, 3 insertions(+), 4 deletions(-)
>
> Reviewed-by: Stefan Hajnoczi <stefa...@redhat.com>

Thanks, applied to master as a buildfix.

-- PMM

Reply via email to