From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752655AbZBQHEa (ORCPT ); Tue, 17 Feb 2009 02:04:30 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751237AbZBQHEW (ORCPT ); Tue, 17 Feb 2009 02:04:22 -0500 Received: from cantor2.suse.de ([195.135.220.15]:44136 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751229AbZBQHEV (ORCPT ); Tue, 17 Feb 2009 02:04:21 -0500 Date: Tue, 17 Feb 2009 08:04:20 +0100 Message-ID: From: Takashi Iwai To: =?ISO-8859-1?Q?J=F6rg-Volker?= Peetz Cc: linux-kernel@vger.kernel.org Subject: Re: &&//|| typo ? In-Reply-To: References: User-Agent: Wanderlust/2.12.0 (Your Wildest Dreams) SEMI/1.14.6 (Maruoka) FLIM/1.14.7 (=?ISO-8859-4?Q?Sanj=F2?=) APEL/10.6 Emacs/22.3 (x86_64-suse-linux-gnu) MULE/5.0 (SAKAKI) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org At Mon, 16 Feb 2009 22:35:54 +0100, Jörg-Volker Peetz wrote: > > Hi, > > inspired by the mail http://lkml.org/lkml/2009/2/15/159 > I did > > grep -Ern '\!=.*\|\|.*\!=' linux-2.6.28.5 > > and found the following tests which are always true if the tested variable is > not NaN: > > linux-2.6.28.5/sound/pci/au88x0/au88x0_core.c:2792: if ((bits != 8) || (bits != 16)) > > linux-2.6.28.5/sound/oss/ad1848.c:283: if ( (devc->model != MD_1845) || > (devc->model != MD_1845_SSCAPE)) > linux-2.6.28.5/sound/oss/ad1848.c:2110: if (devc->model != MD_1845 || > devc->model != MD_1845_SSCAPE) I fixed above three on sound git tree now. Thanks! Takashi