Re: [PATCH] devres: support addresses greater than an unsigned long via dev_ioremap

From: Kumar Gala
Date: Tue Apr 29 2008 - 10:19:57 EST



On Apr 29, 2008, at 1:37 AM, Jeff Garzik wrote:
Tejun Heo wrote:
Kumar Gala wrote:
Use a resource_size_t instead of unsigned long since some arch's are
capable of having ioremap deal with addresses greater than the size of a
unsigned long.

Signed-off-by: Kumar Gala <galak@xxxxxxxxxxxxxxxxxxx>
Acked-by: Tejun Heo <htejun@xxxxxxxxx>

Fine with me, too.

I think devres changes should go via GregKH (device core) or Jesse (PCI) rather than my libata tree, unless there are obvious dependencies...

GregKH will you handle pushing this to Linus. Its a pretty trivial patch and would be nice to go into 2.6.26. I would also consider it a bug fix of shorts for any driver using devres and resource_size_t being typedef'd to u64 on a 32-bit processor.

- k
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/