aboutsummaryrefslogtreecommitdiff
path: root/drivers/net/mlx4
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2008-09-05 14:04:04 -0700
committerJeff Garzik <jgarzik@redhat.com>2008-09-24 18:48:56 -0400
commitc2d1eb085d2eb47a3b16726f79fcf0d53648ebc0 (patch)
tree6600bbedc3b70e679dc4c71ac6464391908a6d0e /drivers/net/mlx4
parentd1c5ea33c006e921f706f5075c09edc91e714263 (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')
0 files changed, 0 insertions, 0 deletions