e1000/e1000e/igb/igbvf/ixgb/ixgbe: Fix tests of unsigned in *_tx_map()
authorRoel Kluin <roel.kluin@gmail.com>
Tue, 19 Jan 2010 14:21:45 +0000 (14:21 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 21 Jan 2010 00:21:22 +0000 (16:21 -0800)
commitc1fa347f20f17f14a4a1575727fa24340e8a9117
tree520a4cc063e0f64030ddae6744970c7fcb0785db
parentb4ced2b768ab6c580148d1163c82a655fe147edc
e1000/e1000e/igb/igbvf/ixgb/ixgbe: Fix tests of unsigned in *_tx_map()

The variable count and i are unsigned so the (<|>=)0 tests do not work.

Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/e1000/e1000_main.c
drivers/net/e1000e/netdev.c
drivers/net/igbvf/netdev.c
drivers/net/ixgb/ixgb_main.c
drivers/net/ixgbe/ixgbe_main.c