diff options
author | Takashi Iwai <tiwai@suse.de> | 2008-09-05 17:04:04 -0400 |
---|---|---|
committer | Jeff Garzik <jgarzik@redhat.com> | 2008-09-24 18:48:56 -0400 |
commit | c2d1eb085d2eb47a3b16726f79fcf0d53648ebc0 (patch) | |
tree | 6600bbedc3b70e679dc4c71ac6464391908a6d0e /drivers/net/mlx4/alloc.c | |
parent | d1c5ea33c006e921f706f5075c09edc91e714263 (diff) |
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 'drivers/net/mlx4/alloc.c')
0 files changed, 0 insertions, 0 deletions