From: Julia Lawall Date: Fri, 18 Dec 2009 16:43:22 +0000 (+0100) Subject: [S390] drivers: Correct size given to memset X-Git-Tag: v2.6.33-rc2~51^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=83e56d0b23f91b70a7e708ce0979a57b6c6a1507;p=pandora-kernel.git [S390] drivers: Correct size given to memset Memset should be given the size of the structure, not the size of the pointer. The semantic patch that makes this change is as follows: (http://coccinelle.lip6.fr/) // @@ type T; T *x; expression E; @@ memset(x, E, sizeof( + * x)) // Signed-off-by: Julia Lawall Signed-off-by: Heiko Carstens Signed-off-by: Martin Schwidefsky --- Reading git-diff-tree failed