• A
    pci: Fix virPCIGetPhysicalFunction()'s callers · fc9ba9d5
    Andrea Bolognani 提交于
    Commit c8b1a836 changed the function, making it
    impossible for callers to be able to tell whether a
    non-negative return value means "physical function
    address found and parsed correctly" or "couldn't find
    corresponding physical function".
    
    The important difference between the two being that,
    in the latter case, the returned pointer is NULL and
    should never, ever be dereferenced.
    
    In order to cope with these changes, the callers
    have to be updated.
    fc9ba9d5
node_device_linux_sysfs.c 7.8 KB