Re: [PATCH] can: gs_usb: fix size parameter to usb_free_coherent() calls

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

 



On Fri, Nov 25, 2022 at 09:32:17PM +0100, Marc Kleine-Budde wrote:
> Hello Greg,
> 
> with v5.18-rc1 in commit
> 
> | c359931d2545 ("can: gs_usb: use union and FLEX_ARRAY for data in struct gs_host_frame")
> 
> a bug in the gs_usb driver in the usage of usb_free_coherent() was
> introduced. With v6.1-rc1
> 
> | 62f102c0d156 ("can: gs_usb: remove dma allocations")
> 
> the DMA allocation was removed altogether from the driver, fixing the
> bug unintentionally.
> 
> We can either cherry-pick 62f102c0d156 ("can: gs_usb: remove dma
> allocations") on v6.0, v5.19, and v5.18 or apply this patch, which fixes
> the usage of usb_free_coherent() only.

We should always take what is in Linus's tree, that's the best solution.
Does the change backport cleanly?

And 5.19 and 5.18 are long end-of-life, no need to worry about them.
Only 6.0 matters right now.

thanks,

greg k-h



[Index of Archives]     [Automotive Discussions]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]     [CAN Bus]

  Powered by Linux