Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751494Ab1CTHDB (ORCPT ); Sun, 20 Mar 2011 03:03:01 -0400 Received: from mail-yx0-f174.google.com ([209.85.213.174]:48218 "EHLO mail-yx0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750903Ab1CTHC7 convert rfc822-to-8bit (ORCPT ); Sun, 20 Mar 2011 03:02:59 -0400 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=muQBDMPHM8oK1/buiBgTo39H2dupNjrgQg7YHS6lhF0MDm0hij3nfmvszFudkestOK 4BRt+qUxTEk2cmXIm33zSZiSdsR2TwxSVRvA8EGvKxy98l414Np3ZfbGRlQ7ckyJe2hh pPf4NMQnPnVQelhNJBS59ZbuLMUwGp38k1MQk= MIME-Version: 1.0 In-Reply-To: References: <1300416744.16880.904.camel@gandalf.stny.rr.com> <20110317211548.646b04d2@tpl.lwn.net> <1300419170.16880.956.camel@gandalf.stny.rr.com> Date: Sun, 20 Mar 2011 09:02:58 +0200 X-Google-Sender-Auth: z-xCmbAgjGTtB78wGHpHhSYinCQ Message-ID: Subject: Re: [PATCH] checkpatch: Test for kmalloc/memset(0) pairs From: Pekka Enberg To: =?ISO-8859-1?Q?Am=E9rico_Wang?= Cc: Steven Rostedt , Jonathan Corbet , LKML , Andy Whitcroft , Dave Jones , Andrew Morton , Julia Lawall 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 Content-Length: 735 Lines: 17 Hi, On Fri, Mar 18, 2011 at 11:32 AM, Steven Rostedt wrote: >> But if we can teach checkpatch to read the rule files, then maybe that >> would be beneficial. On Sun, Mar 20, 2011 at 5:40 AM, Am?rico Wang wrote: > The problem is Perl doesn't really understand C, while Coccinelle does. It would be nice if Coccinelle would be even more easy to setup and use during development. Like with Dave, Coccinelle has been on my todo list forever. -- 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/