Re: [PATCH] mtd: check the return value of devm_ioremap() in docg3_probe()
From: Miquel Raynal
Date: Mon Sep 19 2022 - 12:16:41 EST
On Fri, 2022-07-22 at 09:16:44 UTC, williamsukatube@xxxxxxx wrote:
> From: William Dean <williamsukatube@xxxxxxxxx>
>
> The function devm_ioremap() in docg3_probe() can fail, so
> its return value should be checked.
>
> Fixes: 82402aeb8c81e ("mtd: docg3: Use devm_*() functions")
> Reported-by: Hacash Robot <hacashRobot@xxxxxxxxxxx>
> Signed-off-by: William Dean <williamsukatube@xxxxxxxxx>
Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git mtd/next, thanks.
Miquel