From befde0226a595d1a7854c0cbf32904b8279c4fd0 Mon Sep 17 00:00:00 2001 From: Dmitry Torokhov Date: Mon, 18 Feb 2013 11:26:11 +0100 Subject: [PATCH] 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-format-patch failed