From: Yang Yingliang <hidden> Date: 2021-10-25 04:53:07
In case of error, the function of_iomap() returns NULL pointer
not ERR_PTR(). The IS_ERR() test in the return value check
should be replaced with NULL test.
Reported-by: Hulk Robot <redacted>
Signed-off-by: Yang Yingliang <redacted>
---
drivers/irqchip/irq-mchp-eic.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
EXTERNAL EMAIL: Do not click links or open attachments unless you know the content is safe
In case of error, the function of_iomap() returns NULL pointer
not ERR_PTR(). The IS_ERR() test in the return value check
should be replaced with NULL test.
Reported-by: Hulk Robot <redacted>
Signed-off-by: Yang Yingliang <yangyingliang@huawei.
On 25.10.2021 10:44, Claudiu Beznea - M18063 wrote:
On 25.10.2021 08:00, Yang Yingliang wrote:
quoted
EXTERNAL EMAIL: Do not click links or open attachments unless you know the content is safe
In case of error, the function of_iomap() returns NULL pointer
not ERR_PTR(). The IS_ERR() test in the return value check
should be replaced with NULL test.
Reported-by: Hulk Robot <redacted>
Signed-off-by: Yang Yingliang <yangyingliang@huawei.
From: Marc Zyngier <maz@kernel.org> Date: 2021-10-25 10:30:54
On Mon, 25 Oct 2021 10:40:15 +0100,
[off-list ref] wrote:
On 25.10.2021 10:44, Claudiu Beznea - M18063 wrote:
quoted
On 25.10.2021 08:00, Yang Yingliang wrote:
quoted
EXTERNAL EMAIL: Do not click links or open attachments unless you know the content is safe
In case of error, the function of_iomap() returns NULL pointer
not ERR_PTR(). The IS_ERR() test in the return value check
should be replaced with NULL test.
Reported-by: Hulk Robot <redacted>
Signed-off-by: Yang Yingliang <yangyingliang@huawei.
Reviewed-by: Claudiu Beznea <redacted>
Forgot to mention, can you add the Fixes tag?
There is no real need for one when the offending patch is in the same
merge window, and will be in the same pull request.
M.
--
Without deviation from the norm, progress is not possible.
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel