From: Jiri Kosina Date: Tue, 15 Sep 2009 09:59:49 +0000 (+0200) Subject: HID: fix non-atomic allocation in hid_input_report X-Git-Tag: v2.6.32-rc1~414^2~2 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d1ff65226c5afe55f9af38a439058f41b71e114f;p=pandora-kernel.git 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 Signed-off-by: Jiri Kosina --- Reading git-diff-tree failed