Re: [PATCH -next 2/2] soc: fsl: guts: check return value after calling of_iomap() in fsl_guts_get_soc_uid()

From: Michael Walle
Date: Tue Jun 28 2022 - 10:29:09 EST


Am 2022-06-28 16:02, schrieb Yang Yingliang:
of_iomap() may return NULL, so we need check the return value.

Fixes: 786dde1e59d7 ("soc: fsl: guts: add serial_number support")
Reported-by: Hulk Robot <hulkci@xxxxxxxxxx>
Signed-off-by: Yang Yingliang <yangyingliang@xxxxxxxxxx>

Reviewed-by: Michael Walle <michael@xxxxxxxx>