On 6/16/2015 4:47 PM, Jeff Kirsher wrote:

From: Jacob Keller <jacob.e.kel...@intel.com>

The value will never be negative, and we use the %i print format, use

   "%i" is the same as "%d", AFAIR. You need "%u" for the unsigned variables.

unsigned int for the loop counter. Issue found using cppcheck.

Signed-off-by: Jacob Keller <jacob.e.kel...@intel.com>
Tested-by: Krishneil Singh <krishneil.k.si...@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirs...@intel.com>

WBR, Sergei

--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to