Re: mmotm 2009-09-03-16-35 uploaded

From: KAMEZAWA Hiroyuki
Date: Tue Sep 08 2009 - 21:33:11 EST


On Wed, 9 Sep 2009 10:14:46 +0900
KAMEZAWA Hiroyuki <kamezawa.hiroyu@xxxxxxxxxxxxxx> wrote:

> On Wed, 9 Sep 2009 09:49:15 +0900 (JST)
> KOSAKI Motohiro <kosaki.motohiro@xxxxxxxxxxxxxx> wrote:
>
> > Hi
> >
> > This release doesn't boot on my ia64 test box.
> > After following two patches reverted, booting was successful.
> >
> > page-allocator-change-migratetype-for-all-pageblocks-within-a-high-order-page-during-__rmqueue_fallback.patch
> > Kamezawa-san's kcore patch series
> >
> >
> > Mel, Kamezawa-san, Can you please gime me any advise?
> >
> >
>
> Kosaki-san, could you give me your .config ?
>
Hmm, how about this ?

==
This is a fix for walk-system-ram-range.patch

resource->name can be NULL. (It seems bad but by reading other
codes, this is possible.)

Signed-off-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@xxxxxxxxxxxxxx>
---
kernel/resource.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Index: mmotm-2.6.31-Sep3/kernel/resource.c
===================================================================
--- mmotm-2.6.31-Sep3.orig/kernel/resource.c
+++ mmotm-2.6.31-Sep3/kernel/resource.c
@@ -255,7 +255,7 @@ static int find_next_system_ram(struct r
/* system ram is just marked as IORESOURCE_MEM */
if (p->flags != res->flags)
continue;
- if (name && strcmp(p->name, name))
+ if (name && (!p->name || strcmp(name, p->name)))
continue;
if (p->start > end) {
p = NULL;

--
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/