From: Julia Lawall Date: Sun, 13 Dec 2009 11:40:39 +0000 (+0100) Subject: MIPS: Alchemy: Correct code taking the size of a pointer X-Git-Tag: v2.6.33-rc4~8^2~17 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=42ecda1ae80b4b19c3c7ba36e3141c4c19e1fe70;p=pandora-kernel.git MIPS: Alchemy: Correct code taking the size of a pointer sizeof(dp) is just the size of the pointer. Change it to the size of the referenced structure. A simplified version of the semantic patch that finds this problem is as follows: (http://coccinelle.lip6.fr/) // @@ expression *x; expression f; type T; @@ *f(...,(T)x,...) // Signed-off-by: Julia Lawall Patchwork: http://patchwork.linux-mips.org/patch/789/ Signed-off-by: Ralf Baechle --- Reading git-diff-tree failed