From: David Miller <davem@davemloft.net>
To: paul.gortmaker@windriver.com
Cc: netdev@vger.kernel.org
Subject: Re: [PATCH net-next] pktgen: Fix unsigned function that is returning negative vals
Date: Sun, 22 Jan 2012 14:24:44 -0500 (EST) [thread overview]
Message-ID: <20120122.142444.234550384877909252.davem@davemloft.net> (raw)
In-Reply-To: <1327023606-24851-1-git-send-email-paul.gortmaker@windriver.com>
From: Paul Gortmaker <paul.gortmaker@windriver.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@windriver.com>
Applied.
prev parent reply other threads:[~2012-01-22 19:24 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-01-20 1:40 [PATCH net-next] pktgen: Fix unsigned function that is returning negative vals Paul Gortmaker
2012-01-22 19:24 ` David Miller [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20120122.142444.234550384877909252.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=netdev@vger.kernel.org \
--cc=paul.gortmaker@windriver.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).