All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jeff Garzik <jeff@garzik.org>
To: Francois Romieu <romieu@fr.zoreil.com>
Cc: netdev@vger.kernel.org, Andrew Morton <akpm@linux-foundation.org>,
	"David S. Miller" <davem@davemloft.net>,
	"Citizen Lee @fr.zoreil.com" <citizen_lee@thecus.com>
Subject: Re: [PATCH 1/1] r8169: fix missing loop variable increment
Date: Sat, 12 Jan 2008 17:41:48 -0500	[thread overview]
Message-ID: <4789422C.20200@garzik.org> (raw)
In-Reply-To: <20080103223838.GA19191@electric-eye.fr.zoreil.com>

Francois Romieu wrote:
> Spotted-by: Citizen Lee <citizen_lee@thecus.com>
> Signed-off-by: Francois Romieu <romieu@fr.zoreil.com>
> ---
>  drivers/net/r8169.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/drivers/net/r8169.c b/drivers/net/r8169.c
> index 5863190..6ee9db1 100644
> --- a/drivers/net/r8169.c
> +++ b/drivers/net/r8169.c
> @@ -2002,7 +2002,7 @@ static void rtl8169_set_magic_reg(void __iomem *ioaddr, unsigned mac_version)
>  	u32 clk;
>  
>  	clk = RTL_R8(Config2) & PCI_Clock_66MHz;
> -	for (i = 0; i < ARRAY_SIZE(cfg2_info); i++) {
> +	for (i = 0; i < ARRAY_SIZE(cfg2_info); i++, p++) {
>  		if ((p->mac_version == mac_version) && (p->clk == clk)) {
>  			RTL_W32(0x7c, p->val);

applied



      reply	other threads:[~2008-01-12 22:41 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-03 22:38 [PATCH 1/1] r8169: fix missing loop variable increment Francois Romieu
2008-01-12 22:41 ` Jeff Garzik [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=4789422C.20200@garzik.org \
    --to=jeff@garzik.org \
    --cc=akpm@linux-foundation.org \
    --cc=citizen_lee@thecus.com \
    --cc=davem@davemloft.net \
    --cc=netdev@vger.kernel.org \
    --cc=romieu@fr.zoreil.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 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.