diff options
| author | Jiri Kosina <[email protected]> | 2009-09-15 09:59:49 +0000 |
|---|---|---|
| committer | Jiri Kosina <[email protected]> | 2009-09-15 10:31:06 +0000 |
| commit | d1ff65226c5afe55f9af38a439058f41b71e114f (patch) | |
| tree | 4ab64bcce3e1cc0ffdd38419fde74c7817e64aba /lib/debugobjects.c | |
| parent | Merge branch 'for-linus3' of git://git.kernel.org/pub/scm/linux/kernel/git/jm... (diff) | |
| download | kernel-d1ff65226c5afe55f9af38a439058f41b71e114f.tar.gz kernel-d1ff65226c5afe55f9af38a439058f41b71e114f.zip | |
HID: fix non-atomic allocation in hid_input_report
'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 <[email protected]>
Signed-off-by: Jiri Kosina <[email protected]>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions
