linux/drivers/staging/mei
Julia Lawall c0569981b3 drivers/staging/mei/interface.c: take size of pointed value, not pointer
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>
2011-09-16 20:49:18 +02:00
..
hw.h staging/mei: Hardware and MEI driver internal struct definition 2011-05-18 08:30:58 -07:00
init.c staging: mei: registering the MEI driver with the kernel watchdog core interface 2011-09-09 13:28:20 -07:00
interface.c drivers/staging/mei/interface.c: take size of pointed value, not pointer 2011-09-16 20:49:18 +02:00
interface.h staging: mei: adding set_timeout watchdog function 2011-09-09 13:28:20 -07:00
interrupt.c staging: mei: renaming delayed work field and function to a meaningful name. 2011-09-09 13:28:21 -07:00
iorw.c staging: mei: io_list functions revamp 2011-06-28 13:21:33 -07:00
Kconfig staging: mei: adding watchdog core dependency to kconfig 2011-09-09 13:28:21 -07:00
main.c staging: mei: resuming timer regardless of the watchdog timeout value. 2011-09-09 13:28:21 -07:00
Makefile staging/mei: add mei to staging Kbuild 2011-05-18 08:30:59 -07:00
mei_dev.h staging: mei: renaming delayed work field and function to a meaningful name. 2011-09-09 13:28:21 -07:00
mei_version.h staging/mei: PCI device and char driver support. 2011-05-18 08:30:56 -07:00
mei.h staging/mei: mei.h defining user space interface 2011-05-18 08:30:58 -07:00
mei.txt
TODO
wd.c staging: mei: adding mei_wd_stop function comment 2011-09-09 13:28:21 -07:00