WSL2-Linux-Kernel/drivers/interconnect/imx
Wei Yongjun 360a10285e interconnect: imx: Fix return value check in imx_icc_node_init_qos()
In case of error, the function of_parse_phandle() returns NULL pointer
not ERR_PTR(). The IS_ERR() test in the return value check should be
replaced with NULL test.

Fixes: f0d8048525 ("interconnect: Add imx core driver")
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Reviewed-by: Dong Aisheng <aisheng.dong@nxp.com>
Link: https://lore.kernel.org/r/20200509030214.14435-1-weiyongjun1@huawei.com
Signed-off-by: Georgi Djakov <georgi.djakov@linaro.org>
2020-05-10 18:30:37 +03:00
..
Kconfig interconnect: imx: Add platform driver for imx8mn 2020-04-28 20:03:02 +03:00
Makefile interconnect: imx: Add platform driver for imx8mn 2020-04-28 20:03:02 +03:00
imx.c interconnect: imx: Fix return value check in imx_icc_node_init_qos() 2020-05-10 18:30:37 +03:00
imx.h
imx8mm.c interconnect: imx: Add platform driver for imx8mm 2020-04-28 20:03:02 +03:00
imx8mn.c interconnect: imx: Add platform driver for imx8mn 2020-04-28 20:03:02 +03:00
imx8mq.c interconnect: imx: Add platform driver for imx8mq 2020-04-28 20:03:02 +03:00