diff options
author | Pete Zaitcev <zaitcev@redhat.com> | 2008-12-20 22:56:08 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@kvm.kroah.org> | 2009-01-28 03:15:36 +0300 |
commit | 7abce6bedc118eb39fe177c2c26be5d008505c14 (patch) | |
tree | 21c1740f03c8a13227c4cac36a06c26ebcf36b90 /drivers/leds | |
parent | 11e76ae0f3a82bbb6c06df8af2167af8b96a0584 (diff) | |
download | linux-7abce6bedc118eb39fe177c2c26be5d008505c14.tar.xz |
USB: usbmon: Implement compat_ioctl
Running a 32-bit usbmon(8) on 2.6.28-rc9 produces the following:
ioctl32(usbmon:28563): Unknown cmd fd(3) cmd(400c9206){t:ffffff92;sz:12} arg(ffd3f458) on /dev/usbmon0
It happens because the compatibility mode was implemented for 2.6.18
and not updated for the fsops.compat_ioctl API.
This patch relocates the pieces from under #ifdef CONFIG_COMPAT into
compat_ioctl with no other changes except one new whitespace.
Signed-off-by: Pete Zaitcev <zaitcev@redhat.com>
Cc: stable <stable@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/leds')
0 files changed, 0 insertions, 0 deletions