Re: [PATCH] remoteproc: pru: Remove redundant dev_err call in pru_rproc_probe()

From: Zhihao Cheng
Date: Tue Jun 01 2021 - 21:07:20 EST


在 2021/6/1 23:20, Mathieu Poirier 写道:
On Tue, Jun 01, 2021 at 04:31:00PM +0800, Zhihao Cheng wrote:

@@ -822,8 +822,6 @@ static int pru_rproc_probe(struct platform_device *pdev)
mem_names[i]);
pru->mem_regions[i].va = devm_ioremap_resource(dev, res);
if (IS_ERR(pru->mem_regions[i].va)) {
- dev_err(dev, "failed to parse and map memory resource %d %s\n",
- i, mem_names[i]);
https://patchwork.kernel.org/project/linux-remoteproc/patch/20210511120426.5834-1-thunder.leizhen@xxxxxxxxxx/
Thanks for reminding. Ignore this patch.
ret = PTR_ERR(pru->mem_regions[i].va);
return ret;
}
--
2.31.1

.