Home
last modified time | relevance | path

Searched hist:bf0813bd282f6ded0a5efca3db238287f7a3dbe8 (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/net/core/
H A Dpktgen.cdiff bf0813bd282f6ded0a5efca3db238287f7a3dbe8 Thu Jan 19 09:40:06 CST 2012 Paul Gortmaker <paul.gortmaker@windriver.com> pktgen: Fix unsigned function that is returning negative vals

Every call to num_args() immediately checks the return value for
less than zero, as it will return -EFAULT for a failed get_user()
call. So it makes no sense for the function to be declared as an
unsigned long.

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>