[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20120122.142444.234550384877909252.davem@davemloft.net>
Date: Sun, 22 Jan 2012 14:24:44 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: paul.gortmaker@...driver.com
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH net-next] pktgen: Fix unsigned function that is
returning negative vals
From: Paul Gortmaker <paul.gortmaker@...driver.com>
Date: Thu, 19 Jan 2012 20:40:06 -0500
> 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@...driver.com>
Applied.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists