Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759680AbZLONLh (ORCPT ); Tue, 15 Dec 2009 08:11:37 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1756879AbZLONLg (ORCPT ); Tue, 15 Dec 2009 08:11:36 -0500 Received: from smtprelay01.ispgateway.de ([80.67.31.39]:53100 "EHLO smtprelay01.ispgateway.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752561AbZLONLg (ORCPT ); Tue, 15 Dec 2009 08:11:36 -0500 Message-ID: <4B278B05.1090403@ladisch.de> Date: Tue, 15 Dec 2009 14:11:33 +0100 From: Clemens Ladisch User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) MIME-Version: 1.0 To: Jon Smirl CC: Joe Perches , LKML Subject: Re: suspect & tests References: <1260818577.18538.35.camel@Joe-Laptop.home> In-Reply-To: <1260818577.18538.35.camel@Joe-Laptop.home> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Df-Sender: linux-kernel@cl.domainfactory-kunde.de Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 527 Lines: 14 Joe Perches wrote: > A grep for possibly misused & tests > grep -rP --include=*.[ch] -n -e "[^\&]\&[\=]*\s*\!" * > shows some possible cases where && should > have been used instead: > ... > sound/soc/codecs/stac9766.c:233: vra &= !0x04; This looks like ~ should have been used. -- 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/