From: Nick Krause <xerofoify@gmail.com>
To: Hisashi T Fujinaka <htodd@twofifty.com>
Cc: linux.nics@intel.com,
"e1000-devel@lists.sourceforge.net"
<e1000-devel@lists.sourceforge.net>,
"netdev@vger.kernel.org" <netdev@vger.kernel.org>,
bruce.w.allan@intel.com,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
jesse.brandeburg@intel.com, john.ronciak@intel.com,
"Andrej Manduch" <amanduch@gmail.com>,
"Bjørn Mork" <bjorn@mork.no>
Subject: Re: [PATCH] net:ethernet:intel:Remove outdated fix me comment in the function, gb_acquire_swfw_sync_i210
Date: Mon, 9 Feb 2015 14:35:02 -0500 [thread overview]
Message-ID: <CAPDOMVhF-NWbER+hgC6piJWWVgSPE3Wv1oMYSpFeLydqALfxiw@mail.gmail.com> (raw)
In-Reply-To: <alpine.NEB.2.11.1502090901440.395@chris.i8u.org>
On Mon, Feb 9, 2015 at 12:03 PM, Hisashi T Fujinaka <htodd@twofifty.com> wrote:
> On Mon, 9 Feb 2015, Bj?rn Mork wrote:
>
>> Jeff Kirsher <jeffrey.t.kirsher@intel.com> writes:
>>
>>> If you want to see Nick's patch, feel free to view his patch on
>>> my queue tree:
>>> https://git.kernel.org/cgit/linux/kernel/git/jkirsher/queue.git/
>>
>> which said:
>> - s32 i = 0, timeout = 200; /* FIXME: find real value to use here */
>> + s32 i = 0, timeout = 200;
>>
>>
>> Comments like the one deleted by that patch do have some value in my
>> opinion: They document that the constant is chosen arbitrarily and is
>> not taken from some datasheet.
>>
>> Not a big deal, but leaving such comments, even if the value never ever
>> changes, could save someone from trying to figure out where the heck you
>> got that constant. And there's noone actually misinterpreting this
>> comment as "something needs to be fixed here", is there? So the cost of
>> leaving the comment is exactly zero.
>>
>> Just my .02 ?. I'm not going to tell you how to maintain your driver,
>> of course. At least I try not to :-)
>
> I think, for now, we should NAK this. It's a short comment and you don't
> want me to replace it with a philosophical statement on how you could
> tune the timeout. That's what the data sheet is for.
>
> (Replying from my home account and not my work account -
> todd.fujinaka@intel.com)
>
> ------------------------------------------------------------------------------
> Dive into the World of Parallel Programming. The Go Parallel Website,
> sponsored by Intel and developed in partnership with Slashdot Media, is your
> hub for all things parallel software development, from weekly thought
> leadership blogs to news, videos, case studies, tutorials and more. Take a
> look and join the conversation now. http://goparallel.sourceforge.net/
> _______________________________________________
> E1000-devel mailing list
> E1000-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/e1000-devel
> To learn more about Intel® Ethernet, visit http://communities.intel.com/community/wired
That's fine, however if that is the case why not just explain the
reasons for these values in
another patch with a added comment rather then just removing the FIXME.
Nick
------------------------------------------------------------------------------
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________
E1000-devel mailing list
E1000-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/e1000-devel
To learn more about Intel® Ethernet, visit http://communities.intel.com/community/wired
prev parent reply other threads:[~2015-02-09 19:35 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-02-08 5:21 [PATCH] net:ethernet:intel:Remove outdated fix me comment in the function, gb_acquire_swfw_sync_i210 Nicholas Krause
2015-02-09 1:21 ` Jeff Kirsher
2015-02-09 1:26 ` Jeff Kirsher
2015-02-09 1:28 ` nick
2015-02-09 1:29 ` [E1000-devel] " Jeff Kirsher
2015-02-09 7:17 ` [PATCH] net:ethernet:intel:Remove outdated fix me comment in the function,gb_acquire_swfw_sync_i210 Andrej Manduch
2015-02-09 8:32 ` Jeff Kirsher
2015-02-09 9:29 ` Bjørn Mork
2015-02-09 9:35 ` Jeff Kirsher
2015-02-09 17:03 ` [PATCH] net:ethernet:intel:Remove outdated fix me comment in the function, gb_acquire_swfw_sync_i210 Hisashi T Fujinaka
2015-02-09 19:35 ` Nick Krause [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=CAPDOMVhF-NWbER+hgC6piJWWVgSPE3Wv1oMYSpFeLydqALfxiw@mail.gmail.com \
--to=xerofoify@gmail.com \
--cc=amanduch@gmail.com \
--cc=bjorn@mork.no \
--cc=bruce.w.allan@intel.com \
--cc=e1000-devel@lists.sourceforge.net \
--cc=htodd@twofifty.com \
--cc=jesse.brandeburg@intel.com \
--cc=john.ronciak@intel.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux.nics@intel.com \
--cc=netdev@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 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).