[PATCH] usb: dwc2: Add missing null check

Mattijs Korpershoek mkorpershoek at kernel.org
Tue Sep 30 11:54:08 CEST 2025


Hi,

On Mon, 29 Sep 2025 17:40:43 +0100, Andrew Goodbody wrote:
> Add in the missing null check for dev->driver that is present at other
> points in the function before it is dereferenced.
> 
> This issue was found by Smatch.
> 
> 

Thanks, Applied to https://source.denx.de/u-boot/custodians/u-boot-dfu (u-boot-dfu-next)

[1/1] usb: dwc2: Add missing null check
      https://source.denx.de/u-boot/custodians/u-boot-dfu/-/commit/5ac61383b2db15b037e87bd353f726eafc49e181

--
Mattijs


More information about the U-Boot mailing list