]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
Input: serport - add compat handling for SPIOCSTYPE ioctl
authorJohn Sung <penmount.touch@gmail.com>
Tue, 9 Sep 2014 17:06:51 +0000 (10:06 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 10 Sep 2014 17:27:42 +0000 (10:27 -0700)
commita80d8b02751060a178bb1f7a6b7a93645a7a308b
tree5e6f26aebe52f14def749d11844f2257e1afbcee
parent58e4aeee39917c75da8e5dca0f1c42be8dc29f9e
Input: serport - add compat handling for SPIOCSTYPE ioctl

When running a 32-bit inputattach utility in a 64-bit system, there will be
error code "inputattach: can't set device type". This is caused by the
serport device driver not supporting compat_ioctl, so that SPIOCSTYPE ioctl
fails.

Cc: stable@vger.kernel.org
Signed-off-by: John Sung <penmount.touch@gmail.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/serio/serport.c