netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jeff Garzik <jeff@garzik.org>
To: Mandeep Singh Baines <msb@google.com>
Cc: Joe Perches <joe@perches.com>,
	netdev@vger.kernel.org, matthew@wil.cx, davem@davemloft.net,
	nil@google.com, thockin@google.com
Subject: Re: [PATCH] [ETHTOOL]: Add support for large eeproms
Date: Sat, 12 Apr 2008 05:10:56 -0400	[thread overview]
Message-ID: <48007CA0.6030002@garzik.org> (raw)
In-Reply-To: <20080404014129.GA28593@google.com>

Mandeep Singh Baines wrote:
> Joe Perches (joe@perches.com) wrote:
>> This looks better.
>> There's a typo at line 315 though, it needs a ";".
>>
> 
> Oops. In my haste to get out the revised patch I didn't bother to test.
> Bad Mandeep.
> 
>> I was also wrong that int ret _does_ need to be
>> initialized to 0 in case (eeprom.len == 0)
>>
> 
> I knew I had that there for a reason. But I forgot to initialize ret in
> ethtool_get_eeprom. You've fixed this in your update to the patch:)
> 
>> I think this should be written as below:
>>
> 
> Agreed. You've fixed my bugs and I think setting ret inside the if
> makes the code easier to reason about.
> 
> I've tested your updated version of the patch and it looks good.
> 
>> cheers, Joe
>>
>>  net/core/ethtool.c |   68 +++++++++++++++++++++++++++++-----------------------
>>  1 files changed, 38 insertions(+), 30 deletions(-)

someone wanna resend with proper sign-offs?



  reply	other threads:[~2008-04-12  9:11 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1207195123.23161.291.camel@localhost>
2008-04-03 18:00 ` [PATCH] [ETHTOOL]: Add support for large eeproms Mandeep Singh Baines
2008-04-04  0:03   ` Joe Perches
2008-04-04  1:41     ` Mandeep Singh Baines
2008-04-12  9:10       ` Jeff Garzik [this message]
2008-04-14 18:03         ` Mandeep Singh Baines
2008-04-15  7:31           ` David Miller
2008-04-15 17:07             ` Tim Hockin
2008-04-16  2:23               ` David Miller
2008-04-24 18:17                 ` Breno Leitao
2008-04-24 19:01                   ` Mandeep Singh Baines
2008-04-24 20:21                     ` Breno Leitao
2008-04-25  1:15                       ` Mandeep Singh Baines
2008-04-15 17:39             ` Mandeep Singh Baines
2008-04-16  2:24           ` David Miller
2008-04-03  2:12 Mandeep Singh Baines

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=48007CA0.6030002@garzik.org \
    --to=jeff@garzik.org \
    --cc=davem@davemloft.net \
    --cc=joe@perches.com \
    --cc=matthew@wil.cx \
    --cc=msb@google.com \
    --cc=netdev@vger.kernel.org \
    --cc=nil@google.com \
    --cc=thockin@google.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).