Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S267278AbUIOSou (ORCPT ); Wed, 15 Sep 2004 14:44:50 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S267287AbUIOSou (ORCPT ); Wed, 15 Sep 2004 14:44:50 -0400 Received: from av9-1-sn1.fre.skanova.net ([81.228.11.115]:24268 "EHLO av9-1-sn1.fre.skanova.net") by vger.kernel.org with ESMTP id S267278AbUIOSoq (ORCPT ); Wed, 15 Sep 2004 14:44:46 -0400 To: Gerd Knorr Cc: Kernel List Subject: Re: Linux 2.6.9-rc2 References: <20040914094928.GF27258@bytesex> <20040915070841.GA29586@bytesex> From: Peter Osterlund Date: 15 Sep 2004 20:44:41 +0200 In-Reply-To: <20040915070841.GA29586@bytesex> Message-ID: User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 873 Lines: 22 Gerd Knorr 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/