]> git.baikalelectronics.ru Git - kernel.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)
commit6056ea3e70d961e5a36502827517820c634c267e
treee59275d79fdb53b97ae04ea37a001f916dd2d780
parent6c31f4b1ef5c507b589f3947ab33d9d0b75a7df3
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