commit | 65deeed7b34bc5b8d3cbff495e8fa2ae7b563480 | [log] [tgz] |
---|---|---|
author | Greg Rose <gregory.v.rose@intel.com> | Wed Mar 24 09:35:42 2010 +0000 |
committer | David S. Miller <davem@davemloft.net> | Fri Mar 26 11:56:00 2010 -0700 |
tree | dececb1885019a371596895665765f2a7b15facd | |
parent | 48c11a59c4c1d9926be34920d45da037516eb7b8 [diff] |
ixgbevf: Fix signed/unsigned int error In the Tx mapping function if a DMA error occurred then the unwind of previously mapped sections would improperly check an unsigned int if it was less than zero. Changed the index variable to signed to avoid the error. Signed-off-by: Greg Rose <gregory.v.rose@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>