Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932857AbWLSRmo (ORCPT ); Tue, 19 Dec 2006 12:42:44 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S932858AbWLSRmo (ORCPT ); Tue, 19 Dec 2006 12:42:44 -0500 Received: from an-out-0708.google.com ([209.85.132.250]:55412 "EHLO an-out-0708.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932857AbWLSRmn (ORCPT ); Tue, 19 Dec 2006 12:42:43 -0500 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=BfWgrUzLTKsocEkfUloAA1VkYu0Z0Tv6pBiBpaImZWXMNYISA6a6krRHCo2vVM4UZnKESvYyAhCqipPoFxqHQmh1WH1kcpwRlKKoMnzkXEvpQfvap1gUkuksNgGmOpurMQ1fjqSYbvhq/RgjsSSmkIGcui0eqOsIZ7/N2fAmQcs= Message-ID: Date: Tue, 19 Dec 2006 12:42:41 -0500 From: "Bob Copeland" To: "Dave Jones" , "Robert P. J. Day" , "Linux kernel mailing list" Subject: Re: my handy-dandy, "coding style" script In-Reply-To: <20061219164146.GI25461@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20061219164146.GI25461@redhat.com> X-Google-Sender-Auth: 995a35d24294311d Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1018 Lines: 22 On 12/19/06, Dave Jones wrote: > On Tue, Dec 19, 2006 at 10:46:24AM -0500, Robert P. J. Day wrote: > > > > just for fun, i threw the following together to peruse the tree (or > > any subdirectory) and look for stuff that violates the CodingStyle > > guide. clearly, it's far from complete and very ad hoc, but it's > > amusing. extra searches happily accepted. > > I had a bunch of similar greps that I've recently been half-assedly > putting together into a single script too. > See http://www.codemonkey.org.uk/projects/findbugs/ I don't know if anyone cares about them anymore, since I think gcc grew some smarts in the area recently, but there are a lot of lines of code matching "static int.*= *0;" and equivalents in the driver tree. Bob - 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/