linux/drivers/net/usb
Julia Lawall 6057912d7b drivers/net/usb: Correct code taking the size of a pointer
sizeof(dev->dev_addr) is the size of a pointer.  A few lines above, the
size of this field is obtained using netdev->addr_len for a call to memcpy,
so do the same here.

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:35 -08:00
..
asix.c
catc.c
cdc_eem.c
cdc_ether.c
cdc_subset.c
cdc-phonet.c
dm9601.c
gl620a.c
hso.c
int51x1.c
kaweth.c usb: remove rare pm primitive for conversion to new API 2009-12-11 21:43:00 -08:00
Kconfig
Makefile
mcs7830.c
net1080.c
pegasus.c
pegasus.h
plusb.c
rndis_host.c
rtl8150.c drivers/net/usb: Correct code taking the size of a pointer 2009-12-13 19:56:35 -08:00
smsc95xx.c tree-wide: fix assorted typos all over the place 2009-12-04 15:39:55 +01:00
smsc95xx.h
usbnet.c
zaurus.c