Re: Re: Re: [PATCH v3] serial: pch_uart: potential dereference of null pointer

From: Greg KH
Date: Thu Dec 16 2021 - 11:14:35 EST


On Thu, Dec 16, 2021 at 11:41:13PM +0800, Jiasheng Jiang wrote:
> On Thu, Dec 16, 2021 at 11:24:36PM +0800, Greg KH wrote:
> > Did you run the kernel before your change and then after your change to
> > ensure that the failure you saw before your change is now properly
> > fixed?
> >
> > How did you test this?
>
> Thank you for your answer. But I haven't run it yet.
> And in fact I don't know how to trigger the alloc failure.

Then perhaps this change is not needed?

thanks,

greg k-h