From: David Daney <ddaney.cavm@gmail.com>
To: "Justin P. Mattock" <justinmattock@gmail.com>
Cc: david.daney@cavium.com, linux-kernel@vger.kernel.org,
gregkh@linuxfoundation.org
Subject: Re: [PATCH]drivers:staging:octeon Fix typos in staging:octeon
Date: Mon, 26 Mar 2012 10:27:18 -0700 [thread overview]
Message-ID: <4F70A6F6.7080401@gmail.com> (raw)
In-Reply-To: <1332771969-14754-1-git-send-email-justinmattock@gmail.com>
On 03/26/2012 07:26 AM, Justin P. Mattock wrote:
> From: "Justin P. Mattock"<justinmattock@gmail.com>
>
> The below patch fixes some typos an comments I found while reading.
>
> Signed-off-by: Justin P. Mattock<justinmattock@gmail.com>
>
> ---
> drivers/staging/octeon/ethernet-rx.c | 2 +-
> drivers/staging/octeon/ethernet-tx.c | 10 +++++-----
> drivers/staging/octeon/ethernet-util.h | 2 +-
> drivers/staging/octeon/ethernet.c | 2 +-
> 4 files changed, 8 insertions(+), 8 deletions(-)
For the most part I am fine with this, however ...
[...]
> --- a/drivers/staging/octeon/ethernet-tx.c
> +++ b/drivers/staging/octeon/ethernet-tx.c
> @@ -61,7 +61,7 @@
> * You can define GET_SKBUFF_QOS() to override how the skbuff output
> * function determines which output queue is used. The default
> * implementation always uses the base queue for the port. If, for
> - * example, you wanted to use the skb->priority fieid, define
> + * example, you wanted to use the skb->priority field, define
> * GET_SKBUFF_QOS as: #define GET_SKBUFF_QOS(skb) ((skb)->priority)
> */
> #ifndef GET_SKBUFF_QOS
> @@ -164,8 +164,8 @@ int cvm_oct_xmit(struct sk_buff *skb, struct net_device *dev)
> #endif
>
> /*
> - * Prefetch the private data structure. It is larger that one
> - * cache line.
> + * Prefetch the private data structure. If it is larger than the
> + * one cache line.
> */
The size of the private data structure is known, and it is indeed larger
than a single cache line. So if you are intent on fixing comments, lets
not make this conditional and go ahead and remove that 'If'.
Thanks,
David Daney
prev parent reply other threads:[~2012-03-26 17:27 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-03-26 14:26 [PATCH]drivers:staging:octeon Fix typos in staging:octeon Justin P. Mattock
2012-03-26 17:27 ` David Daney [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=4F70A6F6.7080401@gmail.com \
--to=ddaney.cavm@gmail.com \
--cc=david.daney@cavium.com \
--cc=gregkh@linuxfoundation.org \
--cc=justinmattock@gmail.com \
--cc=linux-kernel@vger.kernel.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.