Re: [PATCH v5 2/5] USB: use genalloc for USB HCs with local memory

From: Alan Stern
Date: Wed May 22 2019 - 11:00:51 EST


On Wed, 22 May 2019, Laurentiu Tudor wrote:

> >> +EXPORT_SYMBOL_GPL(usb_hcd_setup_local_mem);
> >
> > If you have a usb_hcd_setup_local_mem() function then you should also
> > have a usb_hcd_remove_local_mem() function.
>
> Even if all resources that are allocated are device managed?

Ah, I missed that fact. Okay, that's all right.

Alan Stern