]> www.infradead.org Git - users/jedix/linux-maple.git/commit
usb: cdnsp: Fixes error: uninitialized symbol 'len'
authorPawel Laszczak <pawell@cadence.com>
Fri, 31 Mar 2023 09:06:00 +0000 (05:06 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 13 Apr 2023 14:55:26 +0000 (16:55 +0200)
commit095eb65bba30a85251d8806ff6089010feefc868
treea4c4272002ce02166a885421fb5aa9bb52bf616d
parent167c05646f67698ecd598a805238315e827ce4e1
usb: cdnsp: Fixes error: uninitialized symbol 'len'

commit 1edf48991a783d00a3a18dc0d27c88139e4030a2 upstream.

The patch 5bc38d33a5a1: "usb: cdnsp: Fixes issue with redundant
Status Stage" leads to the following Smatch static checker warning:

  drivers/usb/cdns3/cdnsp-ep0.c:470 cdnsp_setup_analyze()
  error: uninitialized symbol 'len'.

cc: <stable@vger.kernel.org>
Fixes: 5bc38d33a5a1 ("usb: cdnsp: Fixes issue with redundant Status Stage")
Signed-off-by: Pawel Laszczak <pawell@cadence.com>
Link: https://lore.kernel.org/r/20230331090600.454674-1-pawell@cadence.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/cdns3/cdnsp-ep0.c