Re: [PATCH] netfilter: nf_conntrack: remove exceptional & on function name

From: Pablo Neira Ayuso
Date: Fri Jul 25 2014 - 09:00:51 EST


On Fri, Jul 25, 2014 at 01:47:16AM +0530, Himangi Saraogi wrote:
> In this file, function names are otherwise used as pointers without &.
>
> A simplified version of the Coccinelle semantic patch that makes this
> change is as follows:
>
> // <smpl>
> @r@
> identifier f;
> @@
>
> f(...) { ... }
>
> @@
> identifier r.f;
> @@
>
> - &f
> + f
> // </smpl>

Applied, thanks Himangi.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/