Re: [PATCH] coccinelle: assign signed result to unsigned variable

From: SF Markus Elfring
Date: Sat Sep 26 2015 - 05:42:18 EST

> To collect function calls that have a return value of a given type t,
> it should be sufficient to do the following:
> @@
> t e;
> identifier f;
> @@
> f(...)@e

Is such a SmPL approach better than a variant like the following?

type t;
identifier f;
t f(...)
{ ... }

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at