[PATCH] usb: ohci-hcd: Null check lurb_priv before dereference

Andrew Goodbody andrew.goodbody at linaro.org
Tue Sep 30 12:13:58 CEST 2025


On 30/09/2025 11:05, Marek Vasut wrote:
> On 9/30/25 11:56 AM, Andrew Goodbody wrote:
>> When a variable needs a null check before it is dreferenced ensure that
> dreferenced typo

Will fix

> Can lurb_priv actually be NULL ? What are the preconditions for that ?

I do not know but it is null checked before it is used a little later in 
the function so I opted for the safer option.

Andrew


More information about the U-Boot mailing list