Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a584bff5 authored by Joe Perches's avatar Joe Perches Committed by Dan Williams
Browse files

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



Using %pR standardizes the struct resource output.

Signed-off-by: default avatarJoe Perches <joe@perches.com>
Signed-off-by: default avatarDan Williams <dan.j.williams@intel.com>
parent bca364d3
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -4449,9 +4449,8 @@ static int __devinit ppc440spe_adma_probe(struct platform_device *ofdev,

	if (!request_mem_region(res.start, resource_size(&res),
				dev_driver_string(&ofdev->dev))) {
		dev_err(&ofdev->dev, "failed to request memory region "
			"(0x%016llx-0x%016llx)\n",
			(u64)res.start, (u64)res.end);
		dev_err(&ofdev->dev, "failed to request memory region %pR\n",
			&res);
		initcode = PPC_ADMA_INIT_MEMREG;
		ret = -EBUSY;
		goto out;