1
0
Fork 0
alistair23-linux/drivers/net/skfp
Takashi Iwai c2d1eb085d drivers/net/skfp/pmf.c: Use offsetof() macro
Self-baked macros cause bunch of compile warnings like below:

  CC [M]  drivers/net/skfp/pmf.o
  CC      net/ipv4/fib_semantics.o
drivers/net/skfp/pmf.c:86: warning: cast from pointer to integer of different size
drivers/net/skfp/pmf.c:87: warning: cast from pointer to integer of different size
...

Use the standard offsetof() macro instead.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Acked-by: Alan Cox <alan@redhat.com>
Cc: Jeff Garzik <jeff@garzik.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
2008-09-24 18:48:56 -04:00
..
h
Makefile
cfm.c
drvfbi.c
ecm.c
ess.c drivers/net/skfp/ess.c: fix compile warnings 2008-08-27 05:36:09 -04:00
fplustm.c
hwmtm.c
hwt.c
pcmplc.c
pmf.c drivers/net/skfp/pmf.c: Use offsetof() macro 2008-09-24 18:48:56 -04:00
queue.c
rmt.c
skfddi.c
smt.c net: use the common ascii hex helpers 2008-07-30 16:30:15 -07:00
smtdef.c
smtinit.c
smttimer.c
srf.c