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

From: Jacob Keller <[email protected]>

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 <[email protected]>
Tested-by: Krishneil Singh <[email protected]>
Signed-off-by: Jeff Kirsher <[email protected]>

WBR, Sergei

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

Reply via email to