Messages in this thread Patch in this message | ![/](/images/icornerl.gif) | | Subject | [PATCH 1/6] UML - Fix iomem list traversal | Date | Fri, 28 Apr 2006 12:01:04 -0400 | From | Jeff Dike <> |
| |
From: "Victor V. Vengerov" <Victor.Vengerov@oktetlabs.ru>
We need to walk the region list properly.
Signed-off-by: Jeff Dike <jdike@addtoit.com>
Index: linux-2.6.16/arch/um/kernel/physmem.c =================================================================== --- linux-2.6.16.orig/arch/um/kernel/physmem.c 2006-04-03 08:48:13.000000000 -0400 +++ linux-2.6.16/arch/um/kernel/physmem.c 2006-04-05 11:16:38.000000000 -0400 @@ -407,6 +407,8 @@ unsigned long find_iomem(char *driver, u *len_out = region->size; return(region->virt); } + + region = region->next; } return(0); - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| ![\](/images/icornerr.gif) |