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

Re: [libvirt] [PATCH] pci.c: correct erroneous expression



On 01/26/2010 02:41 PM, Jim Meyering wrote:
> An expression like this, can never be true, since the RHS is nonzero:
> 
>   ... !pciRead16(dev, PCI_CLASS_DEVICE) == PCI_CLASS_BRIDGE_PCI)
> 
> This appears to be what was intended:
> 
>   pciRead16(dev, PCI_CLASS_DEVICE) != PCI_CLASS_BRIDGE_PCI)

Oops, yeah, that seems right.

ACK

-- 
Chris Lalancette


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