[PATCH v3 14/26] compat_ioctl: move ATYFB_CLK handling to atyfb driver

Al Viro viro at zeniv.linux.org.uk
Wed Apr 17 21:28:08 UTC 2019


On Wed, Apr 17, 2019 at 10:27:00PM +0100, Al Viro wrote:
> On Tue, Apr 16, 2019 at 10:25:35PM +0200, Arnd Bergmann wrote:
> > +static int atyfb_compat_ioctl(struct fb_info *info, u_int cmd, u_long arg)
> > +{
> > +	return atyfb_ioctl(info, cmd, (u_long)compat_ptr(arg));
> > +}
> > +#endif
> 
> Huh?  Why isn't that using compat_ioctl_ptr()?

Oh, I see...  Nevermind, then.


More information about the dri-devel mailing list