Re: [PATCH] arch/powerpc: Eliminate double sizeof

2009-02-06 Thread Kumar Gala
On Feb 4, 2009, at 3:43 PM, Julia Lawall wrote: From: Julia Lawall Taking sizeof the result of sizeof is quite strange and does not seem to be what is wanted here. This was fixed using the following semantic patch. (http://www.emn.fr/x-info/coccinelle/) // @@ expression E; @@ - sizeof

Re: [PATCH] arch/powerpc: Eliminate double sizeof

2009-02-04 Thread Scott Wood
Julia Lawall wrote: Signed-off-by: Julia Lawall --- arch/powerpc/platforms/82xx/pq2ads-pci-pic.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -u -p a/arch/powerpc/platforms/82xx/pq2ads-pci-pic.c b/arch/powerpc/platforms/82xx/pq2ads-pci-pic.c --- a/arch/powerpc/platforms/82xx/

[PATCH] arch/powerpc: Eliminate double sizeof

2009-02-04 Thread Julia Lawall
From: Julia Lawall Taking sizeof the result of sizeof is quite strange and does not seem to be what is wanted here. This was fixed using the following semantic patch. (http://www.emn.fr/x-info/coccinelle/) // @@ expression E; @@ - sizeof ( sizeof (E) - ) @@ type T; @@ - sizeof ( sizeof