From: Randy Dunlap <randy.dunlap@oracle.com>
To: Matti Linnanvuori <mattilinnanvuori@yahoo.com>
Cc: Andrew Morton <akpm@linux-foundation.org>, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] include/linux/mutex.h: unclear reference to convention
Date: Tue, 25 Sep 2007 08:33:48 -0700 [thread overview]
Message-ID: <20070925083348.b8860569.randy.dunlap@oracle.com> (raw)
In-Reply-To: <713129.73007.qm@web52009.mail.re2.yahoo.com>
On Tue, 25 Sep 2007 01:11:05 -0700 (PDT) Matti Linnanvuori wrote:
> If you want to maintain the convention of documenting the interface only in .c files,
> you should write the convention in so many places in .h files that no one could overlook it.
> But I think the convention is bad and it would be better to document the interface also in
> .h files where it is defined. The convention is bad because it requires people to jump to
> other files to understand .h files.
Then we would have comments in multiple places and they would
undoubtedly get out of sync. When that happens, which one do
you use? Bad.
I'll find some place to document this convention anyway. Maybe
it will help.
---
~Randy
Phaedrus says that Quality is about caring.
next prev parent reply other threads:[~2007-09-25 15:35 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-09-25 8:11 Matti Linnanvuori
2007-09-25 15:33 ` Randy Dunlap [this message]
-- strict thread matches above, loose matches on Subject: below --
2007-09-24 7:38 Matti Linnanvuori
2007-09-24 14:49 ` Randy Dunlap
2007-09-22 8:41 Matti Linnanvuori
2007-09-22 17:35 ` Randy Dunlap
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=20070925083348.b8860569.randy.dunlap@oracle.com \
--to=randy.dunlap@oracle.com \
--cc=akpm@linux-foundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mattilinnanvuori@yahoo.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
Powered by JetHome