Re: [PATCH] usb: dwc3: qcom: Check for null irq pointer

From: Sergey Shtylyov
Date: Mon Dec 20 2021 - 07:22:59 EST


On 20.12.2021 15:14, Greg KH wrote:

[...]
The return value of platform_get_irq() needs to be checked.
To avoid use of null pointer

  What null pointer, could you please clarify?

in case that there is no irq.

Fixes: 2bc02355f8ba ("usb: dwc3: qcom: Add support for booting with ACPI")
Signed-off-by: Jiasheng Jiang <jiasheng@xxxxxxxxxxx>

This has already been addressed by this (yet unmerged) patch:

https://marc.info/?l=linux-usb&m=162854066430255

Why not wait until that patch is actually merged? Otherwise all of this
work is moot.

Wait, it has been merged back in August. Then this patch is just outdated... :-)

greg k-h

MBR, Sergey