From: Julia Lawall Date: Wed, 4 Feb 2009 21:43:04 +0000 (+0100) Subject: arch/powerpc: Eliminate double sizeof X-Git-Tag: v2.6.29-rc5~40^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=08c6e3a57877ceda5c2f4c99ae7d433b8eef779a;p=pandora-kernel.git arch/powerpc: Eliminate double sizeof 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 (T) - ) // Signed-off-by: Julia Lawall Acked-by: Scott Wood Signed-off-by: Kumar Gala --- Reading git-diff-tree failed