lkml.org 
[lkml]   [2014]   [Jul]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] netfilter: nf_conntrack: remove exceptional & on function name
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.


\
 
 \ /
  Last update: 2014-07-25 15:41    [W:0.056 / U:0.212 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site