diff options
author | Pavel Roskin <proski@gnu.org> | 2007-02-19 02:44:06 +0100 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2007-04-28 17:00:55 +0200 |
commit | c6710e50f6b976dead878e143c568d4f8b068c7c (patch) | |
tree | 81acaf6b817d1e956f340c39e6d6b4b82939d488 /drivers/spi | |
parent | [PATCH] Marvell Libertas 8388 802.11b/g USB driver (diff) | |
download | linux-c6710e50f6b976dead878e143c568d4f8b068c7c.tar.xz linux-c6710e50f6b976dead878e143c568d4f8b068c7c.zip |
[PATCH] hostap: use offsetof() instead of own equivalent
The original macros result in gcc 4.2 warning about "cast from pointer
to integer of different size" on 64-bit systems.
Use of offsetof() on fields in substructures is widespread throughout
the kernel code and should work whether offsetof() is defined using
__compiler_offsetof() or a cast.
Signed-off-by: Pavel Roskin <proski@gnu.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/spi')
0 files changed, 0 insertions, 0 deletions