forked from Minki/linux
c0569981b3
Sizeof a pointer-typed expression returns the size of the pointer, not that of the pointed data. The semantic patch that fixes this problem is as follows: (http://coccinelle.lip6.fr/) // <smpl> @@ expression *e; type T; identifier f; @@ f(...,(T)e,..., -sizeof(e) +sizeof(*e) ,...) // </smpl> Signed-off-by: Julia Lawall <julia@diku.dk> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> |
||
---|---|---|
.. | ||
hw.h | ||
init.c | ||
interface.c | ||
interface.h | ||
interrupt.c | ||
iorw.c | ||
Kconfig | ||
main.c | ||
Makefile | ||
mei_dev.h | ||
mei_version.h | ||
mei.h | ||
mei.txt | ||
TODO | ||
wd.c |