From: Dmitry Torokhov Date: Mon, 18 Feb 2013 10:26:11 +0000 (+0100) Subject: HID: uhid: make creating devices work on 64/32 systems X-Git-Tag: v3.9-rc1~112^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=befde0226a595d1a7854c0cbf32904b8279c4fd0;p=pandora-kernel.git HID: uhid: make creating devices work on 64/32 systems Unfortunately UHID interface, as it was introduced, is broken with 32 bit userspace running on 64 bit kernels as it uses a pointer in its userspace facing API. Fix it by checking if we are executing compat task and munge the request appropriately. Reported-by: Kirill A. Shutemov Acked-by: Kirill A. Shutemov Signed-off-by: Dmitry Torokhov Signed-off-by: Jiri Kosina --- Reading git-diff-tree failed