git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
35e9a9f
)
aha1542: Allocate memory before taking a lock
author
Ondrej Zary
<linux@rainbow-software.org>
Tue, 21 Apr 2015 21:27:50 +0000
(23:27 +0200)
committer
James Bottomley
<JBottomley@Odin.com>
Mon, 27 Apr 2015 17:00:30 +0000
(10:00 -0700)
The driver currently calls kmalloc with GFP_KERNEL while holding a lock.
Fix it by doing the allocation earlier, before taking the lock.
Tested on AHA-1542B.
Signed-off-by: Ondrej Zary <linux@rainbow-software.org>
Signed-off-by: James Bottomley <JBottomley@Odin.com>
drivers/scsi/aha1542.c
patch
|
blob
|
history
diff --cc
drivers/scsi/aha1542.c
Simple merge