1
linux/drivers/s390/cio
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
..
airq.c [S390] cio: airq - fix array boundary 2009-03-26 15:24:14 +01:00
blacklist.c [S390] Fix memory leak in /proc/cio_ignore 2009-10-06 10:35:07 +02:00
blacklist.h
ccwgroup.c const: constify remaining dev_pm_ops 2009-12-15 08:53:25 -08:00
ccwreq.c [S390] cio: improve error recovery for internal I/Os 2009-12-07 12:51:33 +01:00
chp.c tree-wide: fix assorted typos all over the place 2009-12-04 15:39:55 +01:00
chp.h
chsc_sch.c [S390] pm: chsc subchannel driver power management callbacks 2009-06-16 10:31:10 +02:00
chsc_sch.h
chsc.c [S390] pm: css bus power management callbacks 2009-06-16 10:31:09 +02:00
chsc.h [S390] cio: move scsw helper functions to header file 2009-09-11 10:29:36 +02:00
cio_debug.h
cio.c nohz: Introduce arch_needs_cpu 2009-11-05 07:53:53 +01:00
cio.h [S390] cio: introduce subchannel todos 2009-12-07 12:51:30 +01:00
cmf.c tree-wide: fix assorted typos all over the place 2009-12-04 15:39:55 +01:00
crw.c [S390] cio/crw: add/fix locking 2009-03-26 15:24:13 +01:00
css.c const: constify remaining dev_pm_ops 2009-12-15 08:53:25 -08:00
css.h [S390] cio: introduce subchannel todos 2009-12-07 12:51:30 +01:00
device_fsm.c [S390] cio: handle failed disable_subchannel after device recognition 2009-12-07 12:51:32 +01:00
device_id.c [S390] cio: improve error recovery for internal I/Os 2009-12-07 12:51:33 +01:00
device_ops.c [S390] cio: make steal lock procedure more robust 2009-12-07 12:51:32 +01:00
device_pgid.c [S390] cio: improve error recovery for internal I/Os 2009-12-07 12:51:33 +01:00
device_status.c [S390] cio: remove intretry flag 2009-12-07 12:51:31 +01:00
device.c [S390] cio: fix drvdata usage for the console subchannel 2009-12-18 17:43:31 +01:00
device.h [S390] cio: make steal lock procedure more robust 2009-12-07 12:51:32 +01:00
fcx.c [S390] drivers: Correct size given to memset 2009-12-18 17:43:32 +01:00
idset.c [S390] cio: introduce consistent subchannel scanning 2009-09-22 22:58:42 +02:00
idset.h [S390] cio: introduce consistent subchannel scanning 2009-09-22 22:58:42 +02:00
io_sch.h [S390] cio: improve error recovery for internal I/Os 2009-12-07 12:51:33 +01:00
ioasm.h [S390] cio: inline assembly cleanup 2008-10-10 21:33:53 +02:00
isc.c
itcw.c
Makefile [S390] cio: consistent infrastructure for internal I/O requests 2009-12-07 12:51:31 +01:00
qdio_debug.c const: constify remaining file_operations 2009-10-01 16:11:11 -07:00
qdio_debug.h [S390] qdio: rework debug feature logging 2008-12-25 13:38:59 +01:00
qdio_main.c [S390] qdio: change state of all primed input buffers 2009-09-22 22:58:43 +02:00
qdio_perf.c const: constify remaining file_operations 2009-10-01 16:11:11 -07:00
qdio_perf.h [S390] qdio: inline qdio_perf_stat_inc 2009-06-12 10:27:32 +02:00
qdio_setup.c [S390] qdio: report SIGA errors directly 2009-03-26 15:24:22 +01:00
qdio_thinint.c [S390] qdio: merge AI tasklet into interrupt handler 2009-06-22 12:08:20 +02:00
qdio.h [S390] qdio: remove limited number of debugfs entries 2009-09-11 10:29:39 +02:00