Re: [PATCH] SATA support for Intel ICH7 - 2.6.10

From: Ulrich Drepper
Date: Wed Dec 29 2004 - 20:20:17 EST


On Wed, 29 Dec 2004 16:13:41 -0800, Gaston, Jason D
<jason.d.gaston@xxxxxxxxx> wrote:
> } else {
> - WARN_ON(ich != 6);
> + WARN_ON((ich != 6) || (ich != 7));

This cannot be right. Every number is either != 6 or != 7. You want &&.
-
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/