[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20200804083152.GA26771@kozik-lap>
Date: Tue, 4 Aug 2020 10:31:52 +0200
From: Krzysztof Kozlowski <krzk@...nel.org>
To: Wei Yongjun <weiyongjun1@...wei.com>
Cc: Paul Cercueil <paul@...pouillou.net>, linux-kernel@...r.kernel.org,
kernel-janitors@...r.kernel.org, Hulk Robot <hulkci@...wei.com>
Subject: Re: [PATCH] memory: jz4780-nemc: Fix return value check in
jz4780_nemc_probe()
On Tue, Aug 04, 2020 at 08:24:03AM +0000, Wei Yongjun wrote:
> In case of error, the function devm_ioremap() returns NULL pointer not
> ERR_PTR(). The IS_ERR() test in the return value check should be
> replaced with NULL test.
>
> Fixes: f046e4a3f0b9 ("memory: jz4780_nemc: Only request IO memory the driver will use")
> Reported-by: Hulk Robot <hulkci@...wei.com>
> Signed-off-by: Wei Yongjun <weiyongjun1@...wei.com>
> ---
> drivers/memory/jz4780-nemc.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
Thanks for the patch. The fix was already posted by Dan:
https://lore.kernel.org/lkml/20200803143607.GC346925@mwanda/
Best regards,
Krzysztof
Powered by blists - more mailing lists