diff options
author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2013-02-18 11:26:11 +0100 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2013-02-18 11:28:16 +0100 |
commit | befde0226a595d1a7854c0cbf32904b8279c4fd0 (patch) | |
tree | 4a32e96b1216a309e405cd0546bad541baf540fe /Documentation/ABI | |
parent | HID: i2c-hid: fix i2c_hid_output_raw_report (diff) | |
download | linux-befde0226a595d1a7854c0cbf32904b8279c4fd0.tar.xz linux-befde0226a595d1a7854c0cbf32904b8279c4fd0.zip |
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 <kirill.shutemov@linux.intel.com>
Acked-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'Documentation/ABI')
0 files changed, 0 insertions, 0 deletions