summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/emulex
diff options
context:
space:
mode:
authorPaul Gortmaker <paul.gortmaker@windriver.com>2012-01-19 15:40:06 +0000
committerDavid S. Miller <davem@davemloft.net>2012-01-22 15:08:44 -0500
commitbf0813bd282f6ded0a5efca3db238287f7a3dbe8 (patch)
tree7c2cf691a713abb91fa4e452a5d4dad82bb4810a /drivers/net/ethernet/emulex
parent974c12360dfe6ab01201fe9e708e7755c413f8b6 (diff)
downloadblackbird-op-linux-bf0813bd282f6ded0a5efca3db238287f7a3dbe8.tar.gz
blackbird-op-linux-bf0813bd282f6ded0a5efca3db238287f7a3dbe8.zip
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>
Diffstat (limited to 'drivers/net/ethernet/emulex')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud