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:
1824090
)
HID: fix non-atomic allocation in hid_input_report
author
Jiri Kosina
<jkosina@suse.cz>
Tue, 15 Sep 2009 09:59:49 +0000
(11:59 +0200)
committer
Jiri Kosina
<jkosina@suse.cz>
Tue, 15 Sep 2009 10:31:06 +0000
(12:31 +0200)
'interrupt' variable can't be used to safely determine whether
we are running in atomic context or not, as we might be called from
during control transfer completion through hid_ctrl() in atomic
context with interrupt == 0.
Reported-by: Jens Axboe <jens.axboe@oracle.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
No differences found