From: Julia Lawall Date: Sun, 13 Dec 2009 11:41:12 +0000 (-0300) Subject: V4L/DVB (13685): Correct code taking the size of a pointer X-Git-Tag: v2.6.33-rc1~70^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9518f179128b02c221ffdd692249836bb05a94de;p=pandora-kernel.git V4L/DVB (13685): Correct code taking the size of a pointer sizeof(print_buf) is just the size of the pointer. Change it to the size used in the allocation of print_buf earlier in the same function. 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,...) // Cc: Janne Grunau Signed-off-by: Julia Lawall Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed