From mboxrd@z Thu Jan 1 00:00:00 1970 From: Joerg Roedel Date: Fri, 28 May 2010 07:04:01 +0000 Subject: Re: [PATCH 1/4] Add targets to use the Coccinelle checker Message-Id: <20100528070401.GJ1237@8bytes.org> List-Id: References: <1273508667-5152-1-git-send-email-npalix@diku.dk> <1273508667-5152-2-git-send-email-npalix@diku.dk> <20100512064230.GC5718@cr0.nay.redhat.com> In-Reply-To: <20100512064230.GC5718@cr0.nay.redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable To: =?iso-8859-1?Q?Am=E9rico?= Wang Cc: Nicolas Palix , Randy Dunlap , Roland Dreier , Joe Perches , Andrew Morton , "David S. Miller" , Michal Marek , Sam Ravnborg , Julia Lawall , Gilles Muller , linux-kernel@vger.kernel.org, linux-kbuild@vger.kernel.org, cocci@diku.dk, Wolfram Sang , Kernel Janitors On Wed, May 12, 2010 at 02:42:30PM +0800, Am=E9rico Wang wrote: > On Mon, May 10, 2010 at 06:24:24PM +0200, Nicolas Palix wrote: > >Four targets are added. Each one generates a different > >output kind: context, patch, org, report. > >Every SmPL file in 'scripts/coccinelle' is given to the spatch frontend > >(located in the 'scripts' directory), and applied to the entire > >source tree. > > > >Signed-off-by: Nicolas Palix > >Signed-off-by: Julia Lawall >=20 > This is great! Totally agreed. > I would like to see coccinelle to be integrated with kbuild, but the > name 'coccicheck' is really confusing, how about 'sema_check'? Which > means 'semantic check'. I think its okay to keep coccicheck because its the name of the tool called. We do the same with 'make cscope'. But since I am a bit lazy I would prefer a shorter name, probably just 'make cocci'? > Or we can use something like for sparse, i.e. 'make C=3D1' etc.. Yes, this would also make sense. As a developer I could add this and only the code I changed is checked. Joerg -- To unsubscribe from this list: send the line "unsubscribe kernel-janitors" = in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html