Re: [PATCH v5 05/18] watchdog: cpwd: use generic compat_ptr_ioctl

2019-10-08 Thread Arnd Bergmann
On Tue, Oct 8, 2019 at 1:30 AM Guenter Roeck wrote: > > On Wed, Aug 14, 2019 at 10:42:32PM +0200, Arnd Bergmann wrote: > > The cpwd_compat_ioctl() contains a bogus mutex that dates > > back to a leftover BKL instance. > > > > Simplify the implementation by using the new compat_ptr_ioctl() > > help

Re: [PATCH v5 05/18] watchdog: cpwd: use generic compat_ptr_ioctl

2019-10-07 Thread Guenter Roeck
Arnd, On Wed, Aug 14, 2019 at 10:42:32PM +0200, Arnd Bergmann wrote: > The cpwd_compat_ioctl() contains a bogus mutex that dates > back to a leftover BKL instance. > > Simplify the implementation by using the new compat_ptr_ioctl() > helper function that will do the right thing for all calls > he

Re: [PATCH v5 05/18] watchdog: cpwd: use generic compat_ptr_ioctl

2019-08-15 Thread Guenter Roeck
On Wed, Aug 14, 2019 at 10:42:32PM +0200, Arnd Bergmann wrote: > The cpwd_compat_ioctl() contains a bogus mutex that dates > back to a leftover BKL instance. > > Simplify the implementation by using the new compat_ptr_ioctl() > helper function that will do the right thing for all calls > here. >

[PATCH v5 05/18] watchdog: cpwd: use generic compat_ptr_ioctl

2019-08-14 Thread Arnd Bergmann
The cpwd_compat_ioctl() contains a bogus mutex that dates back to a leftover BKL instance. Simplify the implementation by using the new compat_ptr_ioctl() helper function that will do the right thing for all calls here. Note that WIOCSTART/WIOCSTOP don't take any arguments, so the compat_ptr() co