From: Randy Dunlap <rdunlap@xenotime.net>
To: Andrew Morton <akpm@linux-foundation.org>
Cc: Huang Shijie <shijie8@gmail.com>, linux-mm@kvack.org
Subject: Re: [PATCH] memory : adjust the ugly comment
Date: Fri, 25 Sep 2009 11:27:00 -0700 [thread overview]
Message-ID: <4ABD0B74.6080106@xenotime.net> (raw)
In-Reply-To: <20090925111913.c7c32a06.akpm@linux-foundation.org>
Andrew Morton wrote:
> On Fri, 25 Sep 2009 17:20:51 +0800 Huang Shijie <shijie8@gmail.com> wrote:
>
>> The origin comment is too ugly, so modify it more beautiful.
>>
>> Signed-off-by: Huang Shijie <shijie8@gmail.com>
>> ---
>> mm/memory.c | 5 ++++-
>> 1 files changed, 4 insertions(+), 1 deletions(-)
>>
>> diff --git a/mm/memory.c b/mm/memory.c
>> index 7e91b5f..6a38caa 100644
>> --- a/mm/memory.c
>> +++ b/mm/memory.c
>> @@ -2405,7 +2405,10 @@ restart:
>> }
>>
>> /**
>> - * unmap_mapping_range - unmap the portion of all mmaps in the specified address_space corresponding to the specified page range in the underlying file.
>> + * unmap_mapping_range - unmap the portion of all mmaps in the specified
>> + * address_space corresponding to the specified page range
>> + * in the underlying file.
>> + *
>
> The comment must all be in a single line so that the kerneldoc tools
> process it correctly. It's a kerneldoc restriction which all are
> welcome to fix ;)
Patch for that (multi-line "short" function descriptions)
was merged just a few days ago.
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=6423133bdee0e07d1c2f8411cb3fe676c207ba33
~Randy
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
next prev parent reply other threads:[~2009-09-25 18:25 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-09-25 9:20 [PATCH] memory : adjust the ugly comment Huang Shijie
2009-09-25 18:19 ` Andrew Morton
2009-09-25 18:27 ` Randy Dunlap [this message]
2009-09-25 18:52 ` Andrew Morton
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=4ABD0B74.6080106@xenotime.net \
--to=rdunlap@xenotime.net \
--cc=akpm@linux-foundation.org \
--cc=linux-mm@kvack.org \
--cc=shijie8@gmail.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.