From: Joe Perches Date: Fri, 12 Nov 2010 21:37:54 +0000 (-0800) Subject: drivers/dma/ppc4xx: Use printf extension %pR for struct resource X-Git-Tag: v2.6.37~8^2~8 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a584bff5efae8c1d026e3a930e3d13a90264fafc;p=profile%2Fivi%2Fkernel-adaptation-intel-automotive.git drivers/dma/ppc4xx: Use printf extension %pR for struct resource Using %pR standardizes the struct resource output. Signed-off-by: Joe Perches Signed-off-by: Dan Williams --- diff --git a/drivers/dma/ppc4xx/adma.c b/drivers/dma/ppc4xx/adma.c index 0d58a4a..cef5845 100644 --- a/drivers/dma/ppc4xx/adma.c +++ b/drivers/dma/ppc4xx/adma.c @@ -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;