diff options
author | Andrew Morton <akpm@linux-foundation.org> | 2009-05-12 06:48:37 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-05-17 14:59:51 -0400 |
commit | 3699a1c7d42f9a694bb512d91ca457f363a48e38 (patch) | |
tree | fc9dda51c254d008678e4f0c29f88e974ce624b3 /drivers/net/82596.c | |
parent | 3977d0334b98770b81dfeb248db232c9bb3d3c88 (diff) |
drivers/net/82596.c: suppress warnings
i386 allmodconfig:
drivers/net/82596.c: In function 'init_rx_bufs':
drivers/net/82596.c:544: warning: cast to pointer from integer of different size
drivers/net/82596.c:545: warning: cast to pointer from integer of different size
drivers/net/82596.c:548: warning: cast to pointer from integer of different size
drivers/net/82596.c:557: warning: cast to pointer from integer of different size
drivers/net/82596.c:565: warning: cast to pointer from integer of different size
drivers/net/82596.c:569: warning: cast to pointer from integer of different size
drivers/net/82596.c:575: warning: cast to pointer from integer of different size
drivers/net/82596.c: In function 'rebuild_rx_bufs':
drivers/net/82596.c:606: warning: cast to pointer from integer of different size
drivers/net/82596.c:608: warning: cast to pointer from integer of different size
drivers/net/82596.c: In function 'init_i596_mem':
drivers/net/82596.c:680: warning: cast to pointer from integer of different size
drivers/net/82596.c:681: warning: cast to pointer from integer of different size
drivers/net/82596.c: In function 'i596_rx':
drivers/net/82596.c:818: warning: cast to pointer from integer of different size
drivers/net/82596.c: In function 'i596_add_cmd':
drivers/net/82596.c:975: warning: cast to pointer from integer of different size
drivers/net/82596.c:979: warning: cast to pointer from integer of different size
drivers/net/82596.c: In function 'i596_start_xmit':
drivers/net/82596.c:1088: warning: cast to pointer from integer of different size
drivers/net/82596.c:1099: warning: cast to pointer from integer of different size
drivers/net/82596.c: In function 'i596_interrupt':
drivers/net/82596.c:1404: warning: cast to pointer from integer of different size
(ugh)
Cc: "David S. Miller" <davem@davemloft.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/82596.c')
-rw-r--r-- | drivers/net/82596.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/drivers/net/82596.c b/drivers/net/82596.c index cca94b9c08ae..77547545509b 100644 --- a/drivers/net/82596.c +++ b/drivers/net/82596.c | |||
@@ -122,13 +122,13 @@ static char version[] __initdata = | |||
122 | #define ISCP_BUSY 0x00010000 | 122 | #define ISCP_BUSY 0x00010000 |
123 | #define MACH_IS_APRICOT 0 | 123 | #define MACH_IS_APRICOT 0 |
124 | #else | 124 | #else |
125 | #define WSWAPrfd(x) ((struct i596_rfd *)(x)) | 125 | #define WSWAPrfd(x) ((struct i596_rfd *)((long)x)) |
126 | #define WSWAPrbd(x) ((struct i596_rbd *)(x)) | 126 | #define WSWAPrbd(x) ((struct i596_rbd *)((long)x)) |
127 | #define WSWAPiscp(x) ((struct i596_iscp *)(x)) | 127 | #define WSWAPiscp(x) ((struct i596_iscp *)((long)x)) |
128 | #define WSWAPscb(x) ((struct i596_scb *)(x)) | 128 | #define WSWAPscb(x) ((struct i596_scb *)((long)x)) |
129 | #define WSWAPcmd(x) ((struct i596_cmd *)(x)) | 129 | #define WSWAPcmd(x) ((struct i596_cmd *)((long)x)) |
130 | #define WSWAPtbd(x) ((struct i596_tbd *)(x)) | 130 | #define WSWAPtbd(x) ((struct i596_tbd *)((long)x)) |
131 | #define WSWAPchar(x) ((char *)(x)) | 131 | #define WSWAPchar(x) ((char *)((long)x)) |
132 | #define ISCP_BUSY 0x0001 | 132 | #define ISCP_BUSY 0x0001 |
133 | #define MACH_IS_APRICOT 1 | 133 | #define MACH_IS_APRICOT 1 |
134 | #endif | 134 | #endif |