From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752882AbbIZPzU (ORCPT ); Sat, 26 Sep 2015 11:55:20 -0400 Received: from mail3-relais-sop.national.inria.fr ([192.134.164.104]:45265 "EHLO mail3-relais-sop.national.inria.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751639AbbIZPzS (ORCPT ); Sat, 26 Sep 2015 11:55:18 -0400 X-IronPort-AV: E=Sophos;i="5.17,593,1437429600"; d="scan'208";a="148672594" Date: Sat, 26 Sep 2015 17:55:15 +0200 (CEST) From: Julia Lawall X-X-Sender: jll@hadrien To: SF Markus Elfring cc: Julia Lawall , Andrzej Hajda , Bartlomiej Zolnierkiewicz , Gilles Muller , Marek Szyprowski , Michal Marek , Nicolas Palix , kernel-janitors@vger.kernel.org, linux-kernel@vger.kernel.org, cocci@systeme.lip6.fr Subject: Re: [PATCH] coccinelle: assign signed result to unsigned variable In-Reply-To: <5606BEBC.4010305@users.sourceforge.net> Message-ID: References: <1443099286-16559-1-git-send-email-a.hajda@samsung.com> <56041BE5.5010005@users.sourceforge.net> <56051D2B.5040802@samsung.com> <56064D0B.8060907@users.sourceforge.net> <56066866.1060602@users.sourceforge.net> <56066AD4.9060306@users.sourceforge.net> <560684F3.9090700@users.sourceforge.net> <5606B837.7030608@users.sourceforge.net> <5606BEBC.4010305@users.sourceforge.net> User-Agent: Alpine 2.10 (DEB 1266 2009-07-14) 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 On Sat, 26 Sep 2015, SF Markus Elfring wrote: > >> * Will a command-line parameter like "--include-headers-for-types" > >> be needed here? > > > > This argument is never needed. It is only an optimization. It means that > > he header files are only considered when collecting type information, but > > not whn doing transformation. But this argument has no effect on the set > > of types tha are available. > > I would consider the reuse of the parameter "--recursive-includes" then > so that the most function signatures will be available. > This has got some consequences on the execution speed and configuration > for the source code analysis. > > Are there any risks to include too many functions? Maybe if there are conflicting definitions of the function with different return types. This is probably not a big deal in practice. julia