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

From: Greg KH
Date: Mon Dec 20 2021 - 07:14:42 EST


On Mon, Dec 20, 2021 at 02:48:12PM +0300, Sergey Shtylyov wrote:
> 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

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

greg k-h