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>