Re: [PATCH v2] Input: serport: Add compat_ioctl routine to support 32bit inputattach in 64bit systems

2014-09-10 Thread Dmitry Torokhov
On Wed, Sep 10, 2014 at 10:18:14AM +0800, John Sung wrote: Hi Dmitry, I tried the patch, and it works with my 32-bit inputattach. Excellent, I queued it up for mainline. Thanks. -- Dmitry -- To unsubscribe from this list: send the line unsubscribe linux-input in the body of a message to

Re: [PATCH v2] Input: serport: Add compat_ioctl routine to support 32bit inputattach in 64bit systems

2014-09-09 Thread Dmitry Torokhov
Hi John, On Tue, Sep 09, 2014 at 01:20:28PM +0800, John Sung wrote: 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

[PATCH v2] Input: serport: Add compat_ioctl routine to support 32bit inputattach in 64bit systems

2014-09-08 Thread John Sung
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. Changes in v2: (1) Codes of the compat_ioctl are protected by