Re: possible endless loop in PROM initialization

From: Krzysztof Helt
Date: Mon Aug 20 2007 - 14:14:26 EST


On Mon, 20 Aug 2007 12:53:20 +0200
Markus Dahms <mad@xxxxxxxxxxxxxxxx> wrote:

> Hello again,

> As I'm not sure anymore whether the device tree (show-devs) or the aliases
> (devalias) are broken on the Classic X (I "upgraded" mine to a Classic by
> changing some NVRAM bytes) this may be a non-issue. But it is still an
> endless loop where it don't has to be.
>

I understand your problem now. The only rational solution is
to stop building the list in the build_one_prop() if the property
with already found name is defined.

Changing way the *_nextprop() works seems not a good
idea to me.

My two cents,
Krzysztof
-
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/