Re: [PATCH 12/16] drivers/cpufreq/pxa3xx-cpufreq.c: Avoid using ARRAY_AND_SIZE(e) as a function argument

2013-08-13 Thread Rafael J. Wysocki
On Sunday, August 11, 2013 06:51:53 PM Julia Lawall wrote: > From: Julia Lawall > > Replace ARRAY_AND_SIZE(e) in function argument position to avoid hiding the > arity of the called function. > > The semantic match that makes this change is as follows: > (http://coccinelle.lip6.fr/) > > // >

Re: [PATCH 12/16] drivers/cpufreq/pxa3xx-cpufreq.c: Avoid using ARRAY_AND_SIZE(e) as a function argument

2013-08-13 Thread Rafael J. Wysocki
On Sunday, August 11, 2013 06:51:53 PM Julia Lawall wrote: From: Julia Lawall julia.law...@lip6.fr Replace ARRAY_AND_SIZE(e) in function argument position to avoid hiding the arity of the called function. The semantic match that makes this change is as follows:

Re: [PATCH 12/16] drivers/cpufreq/pxa3xx-cpufreq.c: Avoid using ARRAY_AND_SIZE(e) as a function argument

2013-08-11 Thread Viresh Kumar
On 12 August 2013 11:18, Julia Lawall wrote: > On Mon, 12 Aug 2013, Viresh Kumar wrote: > >> On 12 August 2013 11:15, Julia Lawall wrote: >> > I'm not sure to understand the sense of the question. >> >> I was talking about this :) >> >> (http://coccinelle.lip6.fr/) > > The URL of the tool if you

Re: [PATCH 12/16] drivers/cpufreq/pxa3xx-cpufreq.c: Avoid using ARRAY_AND_SIZE(e) as a function argument

2013-08-11 Thread Julia Lawall
On Mon, 12 Aug 2013, Viresh Kumar wrote: > On 12 August 2013 11:15, Julia Lawall wrote: > > I'm not sure to understand the sense of the question. > > I was talking about this :) > > (http://coccinelle.lip6.fr/) The URL of the tool if you can't figure out all the funny notation below. julia

Re: [PATCH 12/16] drivers/cpufreq/pxa3xx-cpufreq.c: Avoid using ARRAY_AND_SIZE(e) as a function argument

2013-08-11 Thread Viresh Kumar
On 12 August 2013 11:15, Julia Lawall wrote: > I'm not sure to understand the sense of the question. I was talking about this :) (http://coccinelle.lip6.fr/) -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More

Re: [PATCH 12/16] drivers/cpufreq/pxa3xx-cpufreq.c: Avoid using ARRAY_AND_SIZE(e) as a function argument

2013-08-11 Thread Julia Lawall
On Mon, 12 Aug 2013, Viresh Kumar wrote: > On 11 August 2013 22:21, Julia Lawall wrote: > > From: Julia Lawall > > > > Replace ARRAY_AND_SIZE(e) in function argument position to avoid hiding the > > arity of the called function. > > Makes sense. > > > The semantic match that makes this

Re: [PATCH 12/16] drivers/cpufreq/pxa3xx-cpufreq.c: Avoid using ARRAY_AND_SIZE(e) as a function argument

2013-08-11 Thread Viresh Kumar
On 11 August 2013 22:21, Julia Lawall wrote: > From: Julia Lawall > > Replace ARRAY_AND_SIZE(e) in function argument position to avoid hiding the > arity of the called function. Makes sense. > The semantic match that makes this change is as follows: > (http://coccinelle.lip6.fr/) What is this

[PATCH 12/16] drivers/cpufreq/pxa3xx-cpufreq.c: Avoid using ARRAY_AND_SIZE(e) as a function argument

2013-08-11 Thread Julia Lawall
From: Julia Lawall Replace ARRAY_AND_SIZE(e) in function argument position to avoid hiding the arity of the called function. The semantic match that makes this change is as follows: (http://coccinelle.lip6.fr/) // @@ expression e,f; @@ f(..., - ARRAY_AND_SIZE(e) + e,ARRAY_SIZE(e) ,...) //

[PATCH 12/16] drivers/cpufreq/pxa3xx-cpufreq.c: Avoid using ARRAY_AND_SIZE(e) as a function argument

2013-08-11 Thread Julia Lawall
From: Julia Lawall julia.law...@lip6.fr Replace ARRAY_AND_SIZE(e) in function argument position to avoid hiding the arity of the called function. The semantic match that makes this change is as follows: (http://coccinelle.lip6.fr/) // smpl @@ expression e,f; @@ f(..., - ARRAY_AND_SIZE(e) +

Re: [PATCH 12/16] drivers/cpufreq/pxa3xx-cpufreq.c: Avoid using ARRAY_AND_SIZE(e) as a function argument

2013-08-11 Thread Viresh Kumar
On 11 August 2013 22:21, Julia Lawall julia.law...@lip6.fr wrote: From: Julia Lawall julia.law...@lip6.fr Replace ARRAY_AND_SIZE(e) in function argument position to avoid hiding the arity of the called function. Makes sense. The semantic match that makes this change is as follows:

Re: [PATCH 12/16] drivers/cpufreq/pxa3xx-cpufreq.c: Avoid using ARRAY_AND_SIZE(e) as a function argument

2013-08-11 Thread Julia Lawall
On Mon, 12 Aug 2013, Viresh Kumar wrote: On 11 August 2013 22:21, Julia Lawall julia.law...@lip6.fr wrote: From: Julia Lawall julia.law...@lip6.fr Replace ARRAY_AND_SIZE(e) in function argument position to avoid hiding the arity of the called function. Makes sense. The semantic

Re: [PATCH 12/16] drivers/cpufreq/pxa3xx-cpufreq.c: Avoid using ARRAY_AND_SIZE(e) as a function argument

2013-08-11 Thread Viresh Kumar
On 12 August 2013 11:15, Julia Lawall julia.law...@lip6.fr wrote: I'm not sure to understand the sense of the question. I was talking about this :) (http://coccinelle.lip6.fr/) -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to

Re: [PATCH 12/16] drivers/cpufreq/pxa3xx-cpufreq.c: Avoid using ARRAY_AND_SIZE(e) as a function argument

2013-08-11 Thread Julia Lawall
On Mon, 12 Aug 2013, Viresh Kumar wrote: On 12 August 2013 11:15, Julia Lawall julia.law...@lip6.fr wrote: I'm not sure to understand the sense of the question. I was talking about this :) (http://coccinelle.lip6.fr/) The URL of the tool if you can't figure out all the funny notation

Re: [PATCH 12/16] drivers/cpufreq/pxa3xx-cpufreq.c: Avoid using ARRAY_AND_SIZE(e) as a function argument

2013-08-11 Thread Viresh Kumar
On 12 August 2013 11:18, Julia Lawall julia.law...@lip6.fr wrote: On Mon, 12 Aug 2013, Viresh Kumar wrote: On 12 August 2013 11:15, Julia Lawall julia.law...@lip6.fr wrote: I'm not sure to understand the sense of the question. I was talking about this :) (http://coccinelle.lip6.fr/) The