From: Matthew Wilcox Date: Fri, 3 Aug 2012 17:55:56 +0000 (-0400) Subject: NVMe: Free admin queue memory on initialisation failure X-Git-Tag: v3.6~3^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9e866774aab5d2654b0fa8f97890f68913f05700;p=pandora-kernel.git NVMe: Free admin queue memory on initialisation failure If the adapter fails initialisation, the memory allocated for the admin queue may not be freed. Split the memory freeing part of nvme_free_queue() into nvme_free_queue_mem() and call it in the case of initialisation failure. Signed-off-by: Matthew Wilcox Reported-by: Vishal Verma --- Reading git-diff-tree failed