projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f3a19cb
)
[PATCH] uml: fix iomem list traversal
author
Victor V. Vengerov
<Victor.Vengerov@oktetlabs.ru>
Mon, 1 May 2006 19:15:53 +0000
(12:15 -0700)
committer
Linus Torvalds
<torvalds@g5.osdl.org>
Tue, 2 May 2006 01:17:43 +0000
(18:17 -0700)
We need to walk the region list properly.
Signed-off-by: Jeff Dike <jdike@addtoit.com>
Cc: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/um/kernel/physmem.c
patch
|
blob
|
history
diff --git
a/arch/um/kernel/physmem.c
b/arch/um/kernel/physmem.c
index 0500800df1c130f4c239282f8c624a26ac63d355..fc0f0b085ca78ffb8416c48cf9a1b23ea283dfaa 100644
(file)
--- a/
arch/um/kernel/physmem.c
+++ b/
arch/um/kernel/physmem.c
@@
-407,6
+407,8
@@
unsigned long find_iomem(char *driver, unsigned long *len_out)
*len_out = region->size;
return(region->virt);
}
+
+ region = region->next;
}
return(0);