Julia Lawall 83e56d0b23 [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/)

// <smpl>
@@
type T;
T *x;
expression E;
@@

memset(x, E, sizeof(
+ *
 x))
// </smpl>

Signed-off-by: Julia Lawall <julia@diku.dk>
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
2009-12-18 17:43:32 +01:00
..
2009-03-26 15:24:14 +01:00
2008-07-14 10:02:11 +02:00
2009-11-05 07:53:53 +01:00
2009-12-07 12:51:30 +01:00
2009-03-26 15:24:13 +01:00
2009-12-15 08:53:25 -08:00
2009-12-07 12:51:30 +01:00
2008-10-10 21:33:53 +02:00