scsi: isci: Add a missing call to pci_unmap_biosrom
authorQuentin Lambert <lambert.quentin@gmail.com>
Sat, 19 Nov 2016 17:43:40 +0000 (18:43 +0100)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 29 Nov 2016 16:50:21 +0000 (11:50 -0500)
commitb1509e5d2b478f362dbadfe721d5efc0162e3c8e
treef4d1c4d79822e0048f646360805a2e117e2fd411
parent5cfa2a3c7342bd0b50716c8bb32ee491af43c785
scsi: isci: Add a missing call to pci_unmap_biosrom

Most error branches following the call to pci_map_biosrom contain a call
to pci_unmap_biosrom. This patch add these calls where they are missing.

This issue was found with Hector.

Signed-off-by: Quentin Lambert <lambert.quentin@gmail.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/isci/probe_roms.c