Messages in this thread | | | From | Miquel Raynal <> | Subject | Re: [PATCH] mtd: check the return value of devm_ioremap() in docg3_probe() | Date | Mon, 19 Sep 2022 18:16:12 +0200 |
| |
On Fri, 2022-07-22 at 09:16:44 UTC, williamsukatube@163.com wrote: > From: William Dean <williamsukatube@gmail.com> > > 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@santino.com> > Signed-off-by: William Dean <williamsukatube@gmail.com>
Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git mtd/next, thanks.
Miquel
| |