Re: [PATCH] usb: usbfs: stop using compat_alloc_user_space

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Jul 22, 2020 at 10:21:53AM +0200, Christoph Hellwig wrote:
> On Wed, Jul 22, 2020 at 10:09:59AM +0200, Greg KH wrote:
> > On Wed, Jul 22, 2020 at 09:36:55AM +0200, Christoph Hellwig wrote:
> > > Just switch the low-level routines to take kernel structures, and do the
> > > conversion from the compat to the native structure on that.
> > > 
> > > Signed-off-by: Christoph Hellwig <hch@xxxxxx>
> > > ---
> > >  drivers/usb/core/devio.c | 126 +++++++++++++++++++++------------------
> > >  1 file changed, 69 insertions(+), 57 deletions(-)
> > 
> > No objection to this, but why?  Are you trying to get rid of
> > compat_alloc_user_space()?
> 
> Eventually, yes.  Al has been doing a fair amount of work on it,
> and Linus hates it with passion.
> 
> > 
> > And do you want me to take this through my tree, or do you need to take
> > it through yours?
> 
> I have no tree where this would fit in, so please take it.
> 

Ok, will do, thanks!



[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux