]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mpt3sas: Free memory pools before retrying to allocate with different value.
authorSuganath prabu Subramani <suganath-prabu.subramani@avagotech.com>
Thu, 18 Feb 2016 08:39:45 +0000 (14:09 +0530)
committerMartin K. Petersen <martin.petersen@oracle.com>
Wed, 24 Feb 2016 02:27:02 +0000 (21:27 -0500)
commit8ff045c92708a595b7e39d68bdc0bd7edc08a073
treee59275d79fdb53b97ae04ea37a001f916dd2d780
parent0872774d8a319676dea7416e0cf85bec63eea0d0
mpt3sas: Free memory pools before retrying to allocate with different value.

Deallocate resources before reallocating of the same in retry_allocation
path of _base_allocate_memory_pools()

Signed-off-by: Suganath prabu Subramani <suganath-prabu.subramani@avagotech.com>
Signed-off-by: Chaitra P B <chaitra.basappa@broadcom.com>
Reviewed-by: Tomas Henzl <thenzl@redhat.com>
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/mpt3sas/mpt3sas_base.c