On Mon, 02 Dec 2024 16:05:01 +0100, Benoît Sevens wrote: > > Hi Dan, > > On Mon, 2 Dec 2024 at 13:57, Dan Carpenter <dan.carpenter@xxxxxxxxxx> wrote: > > > > The usb_get_descriptor() function does DMA so we're not allowed > > to use a stack buffer for that. Doing DMA to the stack is not portable > > all architectures. Move the "new_device_descriptor" from being stored > > on the stack and allocate it with kmalloc() instead. > > > > Thanks for fixing this. It looks good to me. > > Note that the commit that is being fixed is already queued for > backporting, so I don't know how this usually goes then. We just follow the same pattern as the Linus upstream, applying the fix on top of the previous fix. In anyway, now I merged it. Will be included in the next PR for rc2. Thanks! Takashi