1. 29 Nov, 2011 20 commits
  2. 28 Nov, 2011 3 commits
  3. 27 Nov, 2011 13 commits
  4. 26 Nov, 2011 4 commits
    • David S. Miller's avatar
      ifenslave: Fix unused variable warnings. · 450faacc
      David S. Miller authored
      Documentation/networking/ifenslave.c: In function ‘if_getconfig’:
      Documentation/networking/ifenslave.c:508:14: warning: variable ‘mtu’ set but not used [-Wunused-but-set-variable]
      Documentation/networking/ifenslave.c:508:6: warning: variable ‘metric’ set but not used [-Wunused-but-set-variable]
      
      The purpose of this function is to simply print out the values
      it probes, so...
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      450faacc
    • chas williams - CONTRACTOR's avatar
    • Rick Jones's avatar
      virtio_net: return already tracked tx_fifo_errors via virtnet_getstats() · 021ac8d3
      Rick Jones authored
      Tx_fifo_errors are tracked in start_xmit_ for virtio_net, but not
      reported in the tallies returned by virtnet_stats().  Return them
      as the rx "sub-stats" rx_length_errors and rx_frame_errors are.
      Signed-off-by: default avatarRick Jones <rick.jones2@hp.com>
      Acked-by: default avatarRusty Russell <rusty@rustcorp.com.au>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      021ac8d3
    • David S. Miller's avatar
      ray_cs: Fix array bounds warnings. · b4c0e72e
      David S. Miller authored
      rx_msg is defined to have a 1 entry array at the end, so gcc warns:
      
      drivers/net/wireless/ray_cs.c: In function ‘rx_authenticate’:
      drivers/net/wireless/ray_cs.c:2436:3: warning: array subscript is above array bounds [-Warray-bounds]
      drivers/net/wireless/ray_cs.c:2436:3: warning: array subscript is above array bounds [-Warray-bounds]
      drivers/net/wireless/ray_cs.c:2436:3: warning: array subscript is above array bounds [-Warray-bounds]
      drivers/net/wireless/ray_cs.c:2436:3: warning: array subscript is above array bounds [-Warray-bounds]
      drivers/net/wireless/ray_cs.c:2436:3: warning: array subscript is above array bounds [-Warray-bounds]
      drivers/net/wireless/ray_cs.c:2439:15: warning: array subscript is above array bounds [-Warray-bounds]
      drivers/net/wireless/ray_cs.c:2452:16: warning: array subscript is above array bounds [-Warray-bounds]
      drivers/net/wireless/ray_cs.c:2453:18: warning: array subscript is above array bounds [-Warray-bounds]
      drivers/net/wireless/ray_cs.c:2453:32: warning: array subscript is above array bounds [-Warray-bounds]
      
      Use a zero length array and rename to "ray_rx_msg" to make sure we hit all
      of the necessary cases.
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      b4c0e72e