Re: [Cocci] positional variable problem

2016-11-07 Thread Julia Lawall
On Mon, 7 Nov 2016, Nicholas Mc Guire wrote: > On Mon, Nov 07, 2016 at 01:14:12PM +0100, Julia Lawall wrote: > > > > > > On Mon, 7 Nov 2016, Nicholas Mc Guire wrote: > > > > > > > > Hi ! > > > > > > On LKML Philippe Reynes posted an API update for ethtools API for > > > the pcnet32 care, basical

Re: [Cocci] positional variable problem

2016-11-07 Thread Nicholas Mc Guire
On Mon, Nov 07, 2016 at 01:14:12PM +0100, Julia Lawall wrote: > > > On Mon, 7 Nov 2016, Nicholas Mc Guire wrote: > > > > > Hi ! > > > > On LKML Philippe Reynes posted an API update for ethtools API for > > the pcnet32 care, basically to replace deprecated {get|set}_settings > > by the new API ca

Re: [Cocci] positional variable problem

2016-11-07 Thread Julia Lawall
On Mon, 7 Nov 2016, Nicholas Mc Guire wrote: > > Hi ! > > On LKML Philippe Reynes posted an API update for ethtools API for > the pcnet32 care, basically to replace deprecated {get|set}_settings > by the new API calls {get|set}_link_ksettings. > see: http://lkml.org/lkml/2016/11/6/2 > > So the s

[Cocci] positional variable problem

2016-11-07 Thread Nicholas Mc Guire
Hi ! On LKML Philippe Reynes posted an API update for ethtools API for the pcnet32 care, basically to replace deprecated {get|set}_settings by the new API calls {get|set}_link_ksettings. see: http://lkml.org/lkml/2016/11/6/2 So the scanner for this is simple: @find exists@ identifier oldapi,c