aboutsummaryrefslogtreecommitdiffstats
path: root/lib/dma-debug.c
diff options
context:
space:
mode:
authorMatthew Wilcox <[email protected]>2012-08-03 17:55:56 +0000
committerMatthew Wilcox <[email protected]>2012-08-03 17:55:56 +0000
commit9e866774aab5d2654b0fa8f97890f68913f05700 (patch)
treea971538c8e58a72f9e14c6ba89b33bf7ab737220 /lib/dma-debug.c
parentNVMe: Use ida for nvme device instance (diff)
downloadkernel-9e866774aab5d2654b0fa8f97890f68913f05700.tar.gz
kernel-9e866774aab5d2654b0fa8f97890f68913f05700.zip
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 <[email protected]> Reported-by: Vishal Verma <[email protected]>
Diffstat (limited to 'lib/dma-debug.c')
0 files changed, 0 insertions, 0 deletions