From: "Andreas Färber" <afaerber@suse.de>
To: Stefan Weil <sw@weilnetz.de>, qemu-trivial@nongnu.org
Cc: Peter Maydell <peter.maydell@linaro.org>,
qemu-devel@nongnu.org, Alexander Graf <agraf@suse.de>
Subject: Re: [Qemu-devel] [PATCH] misc: Fix typos in comments
Date: Fri, 07 Mar 2014 20:06:20 +0100 [thread overview]
Message-ID: <531A18AC.20808@suse.de> (raw)
In-Reply-To: <1394218139-24915-1-git-send-email-sw@weilnetz.de>
Am 07.03.2014 19:48, schrieb Stefan Weil:
> Codespell found and fixed these new typos:
>
> * doesnt -> doesn't
> * funtion -> function
> * perfomance -> performance
> * remaing -> remaining
>
> A code style issue (line too long) was fixed manually.
"coding style"?
>
> Signed-off-by: Stefan Weil <sw@weilnetz.de>
[...]
> diff --git a/hw/net/fsl_etsec/rings.c b/hw/net/fsl_etsec/rings.c
> index 7760272..d7c38fa 100644
> --- a/hw/net/fsl_etsec/rings.c
> +++ b/hw/net/fsl_etsec/rings.c
> @@ -195,8 +195,8 @@ static void process_tx_fcb(eTSEC *etsec)
>
> /* if packet is IP4 and IP checksum is requested */
> if (flags & FCB_TX_IP && flags & FCB_TX_CIP) {
> - /* do IP4 checksum (TODO This funtion does TCP/UDP checksum but not sure
> - * if it also does IP4 checksum. */
> + /* do IP4 checksum (TODO This function does TCP/UDP checksum
> + * but not sure if it also does IP4 checksum. */
While rebreaking it, you could've also added the missing parenthesis,
after the dot I guess. Apart from that,
Reviewed-by: Andreas Färber <afaerber@suse.de>
Thanks,
Andreas
> net_checksum_calculate(etsec->tx_buffer + 8,
> etsec->tx_buffer_len - 8);
> }
[snip]
--
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer; HRB 16746 AG Nürnberg
next prev parent reply other threads:[~2014-03-07 19:06 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-03-07 18:48 [Qemu-devel] [PATCH] misc: Fix typos in comments Stefan Weil
2014-03-07 19:06 ` Andreas Färber [this message]
2014-03-14 16:25 ` [Qemu-devel] [Qemu-trivial] " Michael Tokarev
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=531A18AC.20808@suse.de \
--to=afaerber@suse.de \
--cc=agraf@suse.de \
--cc=peter.maydell@linaro.org \
--cc=qemu-devel@nongnu.org \
--cc=qemu-trivial@nongnu.org \
--cc=sw@weilnetz.de \
/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).