• James Bottomley's avatar
    scsi: aic94xx: fix module loading · 42caa0ed
    James Bottomley authored
    The aic94xx driver is currently failing to load with errors like
    
    sysfs: cannot create duplicate filename '/devices/pci0000:00/0000:00:03.0/0000:02:00.3/0000:07:02.0/revision'
    
    Because the PCI code had recently added a file named 'revision' to every
    PCI device.  Fix this by renaming the aic94xx revision file to
    aic_revision.  This is safe to do for us because as far as I can tell,
    there's nothing in userspace relying on the current aic94xx revision file
    so it can be renamed without breaking anything.
    
    Fixes: 702ed3be (PCI: Create revision file in sysfs)
    Cc: stable@vger.kernel.org
    Signed-off-by: default avatarJames Bottomley <James.Bottomley@HansenPartnership.com>
    Signed-off-by: default avatarMartin K. Petersen <martin.petersen@oracle.com>
    42caa0ed
aic94xx_init.c 27 KB