• Pete Zaitcev's avatar
    [libata] fix probe object allocation bugs · 130199a3
    Pete Zaitcev authored
    The code previously alloced a 2-entry array, then freed each
    entry individually, for users of "combined mode".
    
    Convert code to use allocation function that only allocates
    one object at a time.
    
    Also, un-export ata_pci_init_legacy_mode(), as its only user is
    libata-core.
    130199a3
libata-core.c 90.3 KB