From mboxrd@z Thu Jan 1 00:00:00 1970 From: elfring@users.sourceforge.net (SF Markus Elfring) Date: Sat, 26 Sep 2015 11:52:20 +0200 Subject: [Cocci] [PATCH] coccinelle: assign signed result to unsigned variable In-Reply-To: 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> Message-ID: <56066AD4.9060306@users.sourceforge.net> To: cocci@systeme.lip6.fr List-Id: cocci@systeme.lip6.fr > Your approach finds a function definition. Yes. - I assumed that it might also be relevant. > My approach works on the call directly, using whatever type information is available. The connection between the SmPL specification "f(...)@e" and the desired return type was not obvious for me so far. Regards, Markus