• Mauro Carvalho Chehab's avatar
    i7core_edac: Fix refcount error at PCI devices · 79daef20
    Mauro Carvalho Chehab authored
    Probably due to a bug or some testing logic at PCI level, device
    refcount for <bus>:00.0 device is decremented at the end of the
    pci_get_device, made by i7core_get_all_devices(). The fact is that
    the first versions of the driver relied on those devices to probe
    for Nehalem, but the current versions don't use it at all.
    
    So, let's just remove those devices from the driver, making it simpler
    and fixing the bug.
    Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
    79daef20
i7core_edac.c 54.9 KB