[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <0a39cc13678686b4f53f5e85297b44158cc7ffca.1292276119.git.joe@perches.com>
Date: Mon, 13 Dec 2010 13:42:18 -0800
From: Joe Perches <joe@...ches.com>
To: Dan Williams <dan.j.williams@...el.com>
Cc: Randy Dunlap <randy.dunlap@...cle.com>,
linux-kernel@...r.kernel.org
Subject: [PATCH 1/5] dma: ste_dma40: Use vsprintf extension %pR for struct resource
Signed-off-by: Joe Perches <joe@...ches.com>
---
drivers/dma/ste_dma40.c | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/drivers/dma/ste_dma40.c b/drivers/dma/ste_dma40.c
index fab68a5..f1a8e1d 100644
--- a/drivers/dma/ste_dma40.c
+++ b/drivers/dma/ste_dma40.c
@@ -2855,9 +2855,8 @@ static int __init d40_probe(struct platform_device *pdev)
if (request_mem_region(res->start, resource_size(res),
D40_NAME " I/O lcpa") == NULL) {
ret = -EBUSY;
- dev_err(&pdev->dev,
- "[%s] Failed to request LCPA region 0x%x-0x%x\n",
- __func__, res->start, res->end);
+ dev_err(&pdev->dev, "[%s] Failed to request LCPA region %pR\n",
+ __func__, res);
goto failure;
}
--
1.7.3.3.398.g0b0cd.dirty
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists