From: Julia Lawall Date: Sun, 13 Dec 2009 01:40:55 +0000 (+0000) Subject: drivers/atm: Correct code taking the size of a pointer X-Git-Tag: v2.6.33-rc1~59^2~16 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=710708e82bfbdd392ebdef5743e68fef0fde91a6;p=pandora-kernel.git drivers/atm: Correct code taking the size of a pointer sizeof(TstSchedTbl) is just the size of the pointer. Change it to the size of the referenced data. 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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed