mpt3sas: A correction in unmap_resources
authorTomas Henzl <thenzl@redhat.com>
Wed, 23 Dec 2015 13:21:47 +0000 (14:21 +0100)
committerMartin K. Petersen <martin.petersen@oracle.com>
Wed, 6 Jan 2016 20:10:37 +0000 (15:10 -0500)
commit5f985d88bac34e7f3b4403118eab072902a0b392
tree71155393a2f31cc6144fdfd0d810ccedadf87334
parentcca8f13b4fdaf3583e103ae7f96fda948839b265
mpt3sas: A correction in unmap_resources

It might happen that we try to free an already freed pointer.

Reported-by: Maurizio Lombardi <mlombard@redhat.com>
Signed-off-by: Tomas Henzl <thenzl@redhat.com>
Acked-by: Chaitra P B <chaitra.basappa@avagotech.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/mpt3sas/mpt3sas_base.c