OpenCloudOS-Kernel/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 skfp annotations 2008-03-26 00:18:44 -04:00
Makefile
cfm.c net: remove a collection of unneeded #undef REALLY_SLOW_IO stuff 2007-02-27 04:30:42 -05:00
drvfbi.c drivers/net/skfp: Remove dead code referencing pci_find_device() 2007-10-10 16:50:21 -07:00
ecm.c
ess.c drivers/net/skfp/ess.c: fix compile warnings 2008-08-27 05:36:09 -04:00
fplustm.c skfp annotations 2008-03-26 00:18:44 -04:00
hwmtm.c skfp annotations 2008-03-26 00:18:44 -04:00
hwt.c [netdrvr] skfp: remove a bunch of dead code 2007-10-10 16:50:18 -07:00
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 skfp annotations 2008-03-26 00:18:44 -04:00
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 drivers/net/: all drivers/net/ cleanup with ARRAY_SIZE 2007-10-10 16:51:15 -07:00