Re: [PATCH v6 11/43] compat_ioctl: move drivers to compat_ptr_ioctl

From: Arnd Bergmann
Date: Tue Oct 22 2019 - 06:26:29 EST


On Tue, Oct 22, 2019 at 6:34 AM Al Viro <viro@xxxxxxxxxxxxxxxxxx> wrote:
>
> On Wed, Oct 09, 2019 at 09:10:11PM +0200, Arnd Bergmann wrote:
> > Each of these drivers has a copy of the same trivial helper function to
> > convert the pointer argument and then call the native ioctl handler.
> >
> > We now have a generic implementation of that, so use it.
>
> I'd rather flipped your #7 (ceph_compat_ioctl() introduction) past
> that one...

The idea was to be able to backport the ceph patch as a bugfix
to stable kernels without having to change it or backport
compat_ptr_ioctl() as well.

If you still prefer it that way, I'd move to a simpler version of this
patch and drop the Cc:stable.

Arnd