Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754029Ab0ARLXE (ORCPT ); Mon, 18 Jan 2010 06:23:04 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752843Ab0ARLXB (ORCPT ); Mon, 18 Jan 2010 06:23:01 -0500 Received: from mgw2.diku.dk ([130.225.96.92]:40284 "EHLO mgw2.diku.dk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751469Ab0ARLW7 (ORCPT ); Mon, 18 Jan 2010 06:22:59 -0500 Date: Mon, 18 Jan 2010 12:22:56 +0100 (CET) From: Julia Lawall To: Michal Marek Cc: =?UTF-8?B?TsOpbWV0aCBNw6FydG9u?= , linux-kbuild@vger.kernel.org, Mark Brown , Pekka Enberg , David Miller , stefanr@s5r6.in-berlin.de, adi@hexapodia.org, david.vrabel@csr.com, linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, cocci@diku.dk, Andrew Morton , Nicolas Palix Subject: Re: SmPL scripts into build environment? In-Reply-To: <4B543EF2.50605@suse.cz> Message-ID: References: <4B502C6B.7000802@s5r6.in-berlin.de> <20100115.005445.263291449.davem@davemloft.net> <20100115.012233.202457727.davem@davemloft.net> <84144f021001150149u3b784d26g1822be6c5c3ecbf@mail.gmail.com> <20100115110845.GB28625@sirena.org.uk> <20100115133933.GB21188@rakim.wolfsonmicro.main> <4B509C90.10305@freemail.hu> <4B543EF2.50605@suse.cz> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1008 Lines: 24 > Documentation/smpl/$name_of_problem_fixed.cocci? Or maybe better > scripts/smlp/..., if you are going to add some wrapper that runs the > semantic patches on the source tree. Or something like that, a dedicated > subdirectory to store the semantic patches in individual files. The idea is to make it possible to run them, assuming the user has installed Coccinelle, so scripts seems better. > > What do you think the best way would be to introduce some check like this > > in the build environment? > > I've only heard about the tool, I haven't used it yet. Does it need to > preprocess and parse source files like sparse does, or can it check C > files without expanding macros and includes? It doesn't need to preprocess the source files. thanks, julia -- 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/