diff options
author | Takashi Iwai <tiwai@suse.de> | 2008-09-05 14:04:04 -0700 |
---|---|---|
committer | Jeff Garzik <jgarzik@redhat.com> | 2008-09-24 18:48:56 -0400 |
commit | c2d1eb085d2eb47a3b16726f79fcf0d53648ebc0 (patch) | |
tree | 6600bbedc3b70e679dc4c71ac6464391908a6d0e /fs | |
parent | d1c5ea33c006e921f706f5075c09edc91e714263 (diff) | |
download | linux-c2d1eb085d2eb47a3b16726f79fcf0d53648ebc0.tar.bz2 |
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>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions