From: Jes Sorensen <jes@sgi.com>
To: "Randy.Dunlap" <rdunlap@xenotime.net>
Cc: Linus Torvalds <torvalds@osdl.org>,
Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
bjorn_helgaas@hp.com, Nick Piggin <nickpiggin@yahoo.com.au>,
Andrew Morton <akpm@osdl.org>, Robin Holt <holt@sgi.com>,
Dean Nelson <dcn@sgi.com>, Hugh Dickins <hugh@veritas.com>
Subject: Re: [patch] mspec driver
Date: Wed, 20 Sep 2006 18:45:59 +0200 [thread overview]
Message-ID: <45117047.60701@sgi.com> (raw)
In-Reply-To: <20060920085939.47b753d9.rdunlap@xenotime.net>
Randy.Dunlap wrote:
> On 20 Sep 2006 03:26:53 -0400 Jes Sorensen wrote:
>> @@ -439,6 +439,14 @@ config SGI_MBCS
>> If you have an SGI Altix with an attached SABrick
>> say Y or M here, otherwise say N.
>>
>> +config MSPEC
>> + tristate "Memory special operations driver"
>> + depends on IA64
>> + help
>> + If you have an ia64 and you want to enable memory special
>> + operations support (formerly known as fetchop), say Y here,
>> + otherwise say N.
>
> If the answers are {Y, N}, then it should be bool instead of tristate.
> If tristate, M can be an answer....
True, will look into that.
>> +#include <linux/config.h>
>
> Don't need to include config.h (it's done by build system).
> (well, actually autoconf.h is)
True, I remember that changing - what happens when the code sits around
for too long. Personally I prefer it is included explicitly, but I'll
change it anyway.
>> +static struct vm_operations_struct mspec_vm_ops = {
>> + .open = mspec_open,
>> + .close = mspec_close,
>> + .nopfn = mspec_nopfn
>> +};
>
> These interfaces create a userspace interface, eh?
> So those 3 functions could stand to have kernel-doc function
> comments and have documentation in Documentation/ABI/ (see its
> README file for more details). Maybe check all of
> Documentation/SubmitChecklist for other items...
Mmmmmmm, I'd need someone else to write that up, might take a little
longer to get done. Robin know any volunteers?
>> +/*
>> + * mspec_init
>> + *
>> + * Called at boot time to initialize the mspec facility.
>> + */
>> +static int __init
>> +mspec_init(void)
>
> ugh, matey. All on one line.
Sorry, but I think that one falls under personal preference. It's short
than 80, which is what really matters.
Cheers,
Jes
next prev parent reply other threads:[~2006-09-20 16:45 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-09-20 7:26 [patch] mspec driver Jes Sorensen
2006-09-20 15:59 ` Randy.Dunlap
2006-09-20 16:45 ` Jes Sorensen [this message]
2006-09-20 17:24 ` Robin Holt
2006-09-21 9:32 ` Jes Sorensen
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=45117047.60701@sgi.com \
--to=jes@sgi.com \
--cc=akpm@osdl.org \
--cc=bjorn_helgaas@hp.com \
--cc=dcn@sgi.com \
--cc=holt@sgi.com \
--cc=hugh@veritas.com \
--cc=linux-kernel@vger.kernel.org \
--cc=nickpiggin@yahoo.com.au \
--cc=rdunlap@xenotime.net \
--cc=torvalds@osdl.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