Re: Linux 2.6.9-rc2

From: Peter Osterlund
Date: Wed Sep 15 2004 - 13:47:41 EST


Gerd Knorr <kraxel@xxxxxxxxxxx> writes:

> > I found the change that crashes my computer. This patch is enough to
> > fix it for me:
> >
> > - if (!yoffset)
> > - chroma = (line & 1) == 0;
> > - else
> > - chroma = (line & 1) == 1;
>
> Does the one below work as well?
...
> - chroma = (line & 1) == 0;
> + chroma = ((line & 1) == 0);

No, that patch makes no difference, because == has higher precedence
than = in C. (I also verified that this patch doesn't change the
generated object code, so compiler bugs aren't an issue either.)

--
Peter Osterlund - petero2@xxxxxxxxx
http://w1.894.telia.com/~u89404340
-
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/