Re: [OPERA] Potential bug in /arch/sparc/prom/memory.c & /arch/sparc64/prom/memory.c

From: David S. Miller
Date: Wed May 19 2004 - 22:58:47 EST


On Wed, 19 May 2004 21:45:03 -0500
"Zhenmin Li" <zli4@xxxxxxxxxxx> wrote:

> 158 prom_prom_taken[iter].theres_more =
> !159 &prom_phys_total[iter+1];
> 158 prom_prom_taken[iter].theres_more =
> !159 & prom_prom_taken[iter+1];

It's a bug, but luckily harmless as we never actually
walk the link of this table's elements, and in most
other places we only test it against NULL :-)

But I've added the fix to my tree(s), thanks a lot!
-
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/