fm10k: use an unsigned int for i in ethtool_get_strings
authorJacob Keller <jacob.e.keller@intel.com>
Tue, 16 Jun 2015 20:39:11 +0000 (13:39 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Wed, 17 Jun 2015 21:20:52 +0000 (14:20 -0700)
commitc0e58e93d722a53aa26b18110389c8131af9ddd9
tree0aad3a227d0055fef02205f9afc427c4e2ce3fe6
parentec6acb801e7b2908c24a60c8aabf47c3e40508a4
fm10k: use an unsigned int for i in ethtool_get_strings

The value will never be negative, and we use the %u print format. Thus,
use unsigned int for the loop counter. Issue found using cppcheck.

Signed-off-by: Jacob Keller <jacob.e.keller@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c