Re: [PATCH V2 1/1] comedi: ni_usb6501: fix transfer-buffer overflows
From: Greg Kroah-Hartman
Date: Tue Jun 07 2022 - 11:39:54 EST
On Tue, Jun 07, 2022 at 09:47:20PM +0800, Xiaohui Zhang wrote:
> Similar to the handling of vmk80xx_alloc_usb_buffers in commit
> a23461c47482("comedi: vmk80xx: fix transfer-buffer overflows"),
> we thought a patch might be needed here as well.
>
> The driver uses endpoint-sized USB transfer buffers but up until
> recently had no sanity checks on the sizes.
>
> ---
>
> Fix the typo in the last bit of the old patch which use the wrong
> endpoint to determine the size for usb_tx_buf.
>
> Signed-off-by: Xiaohui Zhang <xiaohuizhang@xxxxxxxxxx>
> ---
Please read the documentation links I sent you that say how to properly
document this.
Please do so and then you can submit a v3.
thanks,
greg k-h