android_kernel_xiaomi_sm8350/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
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 skfp annotations 2008-03-26 00:18:44 -04:00
hwmtm.c skfp annotations 2008-03-26 00:18:44 -04:00
hwt.c
Makefile
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