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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux