Thread (70 messages) 70 messages, 11 authors, 2014-07-31

Re: [PATCH] drivers: Let several drivers depends on HAS_IOMEM for 'devm_ioremap_resource'

flat view

From: Dan Carpenter <hidden>
Date: 2014-07-17 09:18:10
Also in: linux-iio, linux-pwm, linux-watchdog, lkml

On Thu, Jul 17, 2014 at 04:59:09PM +0800, Chen Gang wrote:
quoted
quoted
+	return (__force void __iomem *)ERR_PTR(-ENXIO);
There's apparently an IOMEM_ERR_PTR() for this nowadays...
IOMEM_ERR_PTR() is defined within "lib/devres.c", not in "./include".
But may we move it from "lib/devres.c" to "./include/linux/err.h"?

For me, I am not quite sure, it may need additional discussion, but at
least, that will be another patch.
Yes.  Move it there.  That is the right place.

regards,
dan carpenter
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help