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

From: Jiasheng Jiang
Date: Thu Dec 16 2021 - 20:32:03 EST


On Fri, Dec 17, 2021 at 00:14:28AM +0800, Greg KH wrote:
>> 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?

Er, I mean I have not got the technique to create the sitution that
the alloc would fail.
But it is universally accepted that the alloc would fail when the system
is under an extreme memory pressure.
If you insist to recurrent the bug, I will try my best to do it,
which I think it is needless.

Sincerely thanks,
jiasheng jiang