diff options
| author | 2015-04-21 23:27:50 +0200 | |
|---|---|---|
| committer | 2015-04-27 10:00:30 -0700 | |
| commit | 8c08a6215a432a8f3629da0e8ccfd534ffa480f5 (patch) | |
| tree | a618ae4c0fe0564a3e8fe36a3649ba661f317117 /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | SCSI: add 1024 max sectors black list flag (diff) | |
| download | wireguard-linux-8c08a6215a432a8f3629da0e8ccfd534ffa480f5.tar.xz wireguard-linux-8c08a6215a432a8f3629da0e8ccfd534ffa480f5.zip | |
aha1542: Allocate memory before taking a lock
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>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions
