diff options
| author | Takashi Iwai <[email protected]> | 2008-09-05 14:04:04 -0700 |
|---|---|---|
| committer | Jeff Garzik <[email protected]> | 2008-09-24 18:48:56 -0400 |
| commit | c2d1eb085d2eb47a3b16726f79fcf0d53648ebc0 (patch) | |
| tree | 6600bbedc3b70e679dc4c71ac6464391908a6d0e /include/linux/debugobjects.h | |
| 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 <[email protected]>
Acked-by: Alan Cox <[email protected]>
Cc: Jeff Garzik <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Jeff Garzik <[email protected]>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions