Archived
14
0
Fork 0
This repository has been archived on 2022-02-17. You can view files and clone it, but cannot push or open issues or pull requests.
linux-2.6/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 removed unused #include <linux/version.h>'s 2008-08-23 12:14:12 -07:00
ambassador.c ambassador: declare MODULE_FIRMWARE 2009-11-10 20:28:49 -08:00
ambassador.h firmware: convert Ambassador ATM driver to request_firmware() 2008-07-10 14:49:39 +01:00
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 fore200e: Convert over to pure OF driver. 2008-08-29 02:14:59 -07:00
he.c atm: [he] adjust tests to account for sk_wmem_alloc changes 2009-12-08 20:22:31 -08:00
he.h atm: [he] remove #ifdef clutter 2008-06-17 16:21:44 -07:00
horizon.c net: Make setsockopt() optlen be unsigned. 2009-09-30 16:12:20 -07:00
horizon.h
idt77105.c
idt77105.h
idt77252.c atm: idt77252: Use generic SKB queue management instead of home-grown scheme. 2008-09-21 21:38:26 -07:00
idt77252.h atm: idt77252: Use generic SKB queue management instead of home-grown scheme. 2008-09-21 21:38:26 -07:00
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 atm: Driver for Solos PCI ADSL2+ card. 2008-12-26 01:26:11 -08:00
lanai.c dma-mapping: replace all DMA_32BIT_MASK macro with DMA_BIT_MASK(32) 2009-04-07 08:31:11 -07:00
Makefile atm: Driver for Solos PCI ADSL2+ card. 2008-12-26 01:26:11 -08:00
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 atm: [suni] add support for setting loopback and framing modes 2008-06-17 16:19:24 -07:00
suni.h atm: [suni] add support for setting loopback and framing modes 2008-06-17 16:19:24 -07:00
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