提交 a584bff5 编写于 作者: J Joe Perches 提交者: Dan Williams

drivers/dma/ppc4xx: Use printf extension %pR for struct resource

Using %pR standardizes the struct resource output.
Signed-off-by: NJoe Perches <joe@perches.com>
Signed-off-by: NDan Williams <dan.j.williams@intel.com>
上级 bca364d3
...@@ -4449,9 +4449,8 @@ static int __devinit ppc440spe_adma_probe(struct platform_device *ofdev, ...@@ -4449,9 +4449,8 @@ static int __devinit ppc440spe_adma_probe(struct platform_device *ofdev,
if (!request_mem_region(res.start, resource_size(&res), if (!request_mem_region(res.start, resource_size(&res),
dev_driver_string(&ofdev->dev))) { dev_driver_string(&ofdev->dev))) {
dev_err(&ofdev->dev, "failed to request memory region " dev_err(&ofdev->dev, "failed to request memory region %pR\n",
"(0x%016llx-0x%016llx)\n", &res);
(u64)res.start, (u64)res.end);
initcode = PPC_ADMA_INIT_MEMREG; initcode = PPC_ADMA_INIT_MEMREG;
ret = -EBUSY; ret = -EBUSY;
goto out; goto out;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册