From: Ben Warren <biggerbadderben@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] net: Trivial coding style issue with empty for statement
Date: Mon, 05 Apr 2010 00:16:44 -0700 [thread overview]
Message-ID: <4BB98E5C.8000804@gmail.com> (raw)
In-Reply-To: <1270050968-28434-1-git-send-email-dzu@denx.de>
Hi Detlev,
On 3/31/2010 8:56 AM, Detlev Zundel wrote:
> Signed-off-by: Detlev Zundel<dzu@denx.de>
> CC: Ben Warren<biggerbadderben@gmail.com>
> ---
> net/eth.c | 5 +++--
> 1 files changed, 3 insertions(+), 2 deletions(-)
>
> diff --git a/net/eth.c b/net/eth.c
> index b650a20..aff6987 100644
> --- a/net/eth.c
> +++ b/net/eth.c
> @@ -1,5 +1,5 @@
> /*
> - * (C) Copyright 2001-2004
> + * (C) Copyright 2001-2010
> * Wolfgang Denk, DENX Software Engineering, wd at denx.de.
> *
> * See file CREDITS for list of people who contributed to this
> @@ -173,7 +173,8 @@ int eth_register(struct eth_device* dev)
> }
> #endif
> } else {
> - for (d=eth_devices; d->next!=eth_devices; d=d->next);
> + for (d=eth_devices; d->next!=eth_devices; d=d->next)
> + ;
> d->next = dev;
> }
>
>
Applied to net repo.
thanks,
Ben
prev parent reply other threads:[~2010-04-05 7:16 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-03-31 15:56 [U-Boot] [PATCH] net: Trivial coding style issue with empty for statement Detlev Zundel
2010-04-05 7:16 ` Ben Warren [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=4BB98E5C.8000804@gmail.com \
--to=biggerbadderben@gmail.com \
--cc=u-boot@lists.denx.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