projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c95246c
)
rsxx: fix missing unlock on error return in rsxx_eeh_remap_dmas()
author
Jens Axboe
<axboe@kernel.dk>
Sat, 16 Mar 2013 09:10:48 +0000
(10:10 +0100)
committer
Jens Axboe
<axboe@kernel.dk>
Sat, 16 Mar 2013 09:10:48 +0000
(10:10 +0100)
Spotted by Fenguan Wu's super build robot.
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/block/rsxx/dma.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/block/rsxx/dma.c
b/drivers/block/rsxx/dma.c
index 60d344d002ec10520a01ee41649ab7cea47a6280..d523e9c565788690420445e8b368a33d0d1f85db 100644
(file)
--- a/
drivers/block/rsxx/dma.c
+++ b/
drivers/block/rsxx/dma.c
@@
-1059,6
+1059,7
@@
int rsxx_eeh_remap_dmas(struct rsxx_cardinfo *card)
PCI_DMA_TODEVICE :
PCI_DMA_FROMDEVICE);
if (!dma->dma_addr) {
+ spin_unlock(&card->ctrl[i].queue_lock);
kmem_cache_free(rsxx_dma_pool, dma);
return -ENOMEM;
}