• Andrew Morton's avatar
    drivers/net/82596.c: suppress warnings · 3699a1c7
    Andrew Morton authored
    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: default avatarAndrew Morton <akpm@linux-foundation.org>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    3699a1c7
82596.c 40.2 KB