[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CACRpkdYXmziVfd0ZDTq_3ReCdcw9cWPXXD1H9jfxvLiE=7EDDA@mail.gmail.com>
Date: Mon, 25 May 2020 11:17:23 +0200
From: Linus Walleij <linus.walleij@...aro.org>
To: Wei Yongjun <weiyongjun1@...wei.com>
Cc: Linux ARM <linux-arm-kernel@...ts.infradead.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
kernel-janitors@...r.kernel.org, Hulk Robot <hulkci@...wei.com>
Subject: Re: [PATCH -next] bus: arm-integrator-lm: Fix return value check in integrator_ap_lm_probe()
Hi Wei,
On Wed, May 20, 2020 at 5:18 AM Wei Yongjun <weiyongjun1@...wei.com> wrote:
> In case of error, the function of_find_matching_node() returns NULL
> pointer not ERR_PTR(). The IS_ERR() test in the return value check
> should be replaced with NULL test.
>
> Fixes: ccea5e8a5918 ("bus: Add driver for Integrator/AP logic modules")
> Reported-by: Hulk Robot <hulkci@...wei.com>
> Signed-off-by: Wei Yongjun <weiyongjun1@...wei.com>
I applied this and signed it off and sent it over to the ARM SoC
maintainers.
Yours,
Linus Walleij
Powered by blists - more mailing lists