qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [Bug 1497711] Re: tests/libqos/ahci.c:745: redundant condit


From: Stefan Hajnoczi
Subject: [Qemu-devel] [Bug 1497711] Re: tests/libqos/ahci.c:745: redundant condition ?
Date: Fri, 16 Oct 2015 17:16:04 -0000

Fixed in:

commit 3d937150dce20cb95cbaae99b6fd48dca4261f32
Author: John Snow <address@hidden>
Date:   Mon Oct 5 12:00:55 2015 -0400

    qtest/ahci: fix redundant assertion
    
    Fixes https://bugs.launchpad.net/qemu/+bug/1497711
    
    (!ncq || (ncq && lba48)) is the same as
    (!ncq || lba48).
    
    The intention is simply: "If a command is NCQ,
    it must also be LBA48."
    
    Signed-off-by: John Snow <address@hidden>
    Message-id: address@hidden

** Changed in: qemu
       Status: New => Fix Committed

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1497711

Title:
  tests/libqos/ahci.c:745: redundant condition ?

Status in QEMU:
  Fix Committed

Bug description:
  [qemu/tests/libqos/ahci.c:745]: (style) Redundant condition:
  props.ncq. '!props.ncq || (props.ncq && props.lba48)' is equivalent to
  '!props.ncq || props.lba48'

      g_assert(!props->ncq || (props->ncq && props->lba48));

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1497711/+subscriptions



reply via email to

[Prev in Thread] Current Thread [Next in Thread]