lkml.org 
[lkml]   [2004]   [Sep]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: Linux 2.6.9-rc2
From
Date
Gerd Knorr <kraxel@bytesex.org> 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@telia.com
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@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:06    [W:0.065 / U:0.228 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site