Re: 2.6.16-rc2-mm1 -- BUG: warning atdrivers/ieee1394/ohci1394.c:235/get_phy_reg()

From: Andrew Morton
Date: Sat Feb 11 2006 - 04:02:17 EST


Stefan Richter <stefanr@xxxxxxxxxxxxxxxxx> wrote:
>
> BTW, why not swap the order of expressions:
> WARN_ON(!(warned++) && in_irq()); \

Because then it'd generate a warning every 4 billionth time through.
-
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/