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

From: Sergey Shtylyov
Date: Mon Dec 20 2021 - 06:48:24 EST


On 20.12.2021 14:25, Sergey Shtylyov 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

MBR, Sergey