Re: [PATCH v2] USB: host: Check for null res pointer

From: Greg KH
Date: Mon Dec 20 2021 - 10:31:39 EST


On Mon, Dec 20, 2021 at 11:15:24PM +0800, Jiasheng Jiang wrote:
> The return value of platform_get_resource() needs to be checked.
> To avoid use of error pointer in case of the failure of alloc.

Should be all one sentence, right?

>
> Fixes: 4808a1c02611 ("[PATCH] USB: Add isp116x-hcd USB host controller driver")
> Signed-off-by: Jiasheng Jiang <jiasheng@xxxxxxxxxxx>

What driver is this? That needs to be in the subject line at the very
least.