Re: [PATCH v2] USB: core: remove dead code in do_proc_bulk()

From: Greg KH
Date: Sat Nov 09 2024 - 01:59:42 EST


On Sat, Nov 09, 2024 at 10:11:41AM +0800, Rex Nie wrote:
> Since len1 is unsigned int, len1 < 0 always false. Remove it keep code
> simple.
>
> Cc: stable@xxxxxxxxxxxxxxx
> Fixes: ae8709b296d8 ("USB: core: Make do_proc_control() and do_proc_bulk() killable")
> Signed-off-by: Rex Nie <rex.nie@xxxxxxxxxxxxxxx>
> ---
> changes in v2:
> - Add "Cc: stable@xxxxxxxxxxxxxxx" (kernel test robot)

Why is this relevant for the stable kernels? What bug is being fixed
that users would hit that this is needed to resolve?

thanks,

greg k-h