1
0
Fork 0
freescale-linux-fslc/drivers/atm
Julia Lawall 710708e82b drivers/atm: Correct code taking the size of a pointer
sizeof(TstSchedTbl) is just the size of the pointer.  Change it to the size
of the referenced data.

A simplified version of the semantic patch that finds this problem is as
follows: (http://coccinelle.lip6.fr/)

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

*f(...,(T)x,...)
// </smpl>

Signed-off-by: Julia Lawall <julia@diku.dk>
Signed-off-by: David S. Miller <davem@davemloft.net>
2009-12-13 19:56:33 -08:00
..
.gitignore
adummy.c
ambassador.c ambassador: declare MODULE_FIRMWARE 2009-11-10 20:28:49 -08:00
ambassador.h
atmtcp.c
eni.c net: Make setsockopt() optlen be unsigned. 2009-09-30 16:12:20 -07:00
eni.h
firestream.c net: Make setsockopt() optlen be unsigned. 2009-09-30 16:12:20 -07:00
firestream.h
fore200e.c atm: Cleanup redundant tests on unsigned 2009-10-29 01:39:55 -07:00
fore200e.h
he.c atm: [he] adjust tests to account for sk_wmem_alloc changes 2009-12-08 20:22:31 -08:00
he.h
horizon.c net: Make setsockopt() optlen be unsigned. 2009-09-30 16:12:20 -07:00
horizon.h
idt77105.c
idt77105.h
idt77252.c
idt77252.h
idt77252_tables.h
iphase.c drivers/atm: Correct code taking the size of a pointer 2009-12-13 19:56:33 -08:00
iphase.h
Kconfig
lanai.c dma-mapping: replace all DMA_32BIT_MASK macro with DMA_BIT_MASK(32) 2009-04-07 08:31:11 -07:00
Makefile
midway.h
nicstar.c
nicstar.h
nicstarmac.c
nicstarmac.copyright
solos-attrlist.c solos: Show Interleaving details for ADSL2 and 2+ 2009-05-07 19:49:44 +01:00
solos-pci.c drivers/atm/solos-pci.c: fix warning/bug, clean up code 2009-11-18 05:03:32 -08:00
suni.c
suni.h
tonga.h
uPD98401.h
uPD98402.c
uPD98402.h
zatm.c net: Make setsockopt() optlen be unsigned. 2009-09-30 16:12:20 -07:00
zatm.h
zeprom.h