From: Li Zefan <lizefan@huawei.com>
To: Fabian Frederick <fabf@skynet.be>
Cc: linux-kernel <linux-kernel@vger.kernel.org>,
akpm <akpm@linux-foundation.org>, Tejun Heo <tj@kernel.org>
Subject: Re: [PATCH 1/2] kernel/cpuset.c: kernel-doc fixes
Date: Tue, 6 May 2014 09:21:55 +0800 [thread overview]
Message-ID: <53683933.80707@huawei.com> (raw)
In-Reply-To: <20140505194655.6d1304a0826c107debdbbe30@skynet.be>
On 2014/5/6 1:46, Fabian Frederick wrote:
> This patch also converts seq_printf to seq_puts
>
> Cc: Li Zefan <lizefan@huawei.com>
> Cc: Andrew Morton <akpm@linux-foundation.org>
> Signed-off-by: Fabian Frederick <fabf@skynet.be>
Acked-by: Li Zefan <lizefan@huawei.com>
> ---
> kernel/cpuset.c | 11 ++++++-----
> 1 file changed, 6 insertions(+), 5 deletions(-)
...
> void cpuset_task_status_allowed(struct seq_file *m, struct task_struct *task)
> {
> - seq_printf(m, "Mems_allowed:\t");
> + seq_puts(m, "Mems_allowed:\t");
> seq_nodemask(m, &task->mems_allowed);
> - seq_printf(m, "\n");
> - seq_printf(m, "Mems_allowed_list:\t");
> + seq_puts(m, "\n");
will seq_putc() produce slightly smaller code?
> + seq_puts(m, "Mems_allowed_list:\t");
> seq_nodemask_list(m, &task->mems_allowed);
> - seq_printf(m, "\n");
> + seq_puts(m, "\n");
> }
>
next prev parent reply other threads:[~2014-05-06 1:22 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-05-05 17:46 [PATCH 1/2] kernel/cpuset.c: kernel-doc fixes Fabian Frederick
2014-05-06 1:21 ` Li Zefan [this message]
2014-05-06 11:31 ` Tejun Heo
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=53683933.80707@huawei.com \
--to=lizefan@huawei.com \
--cc=akpm@linux-foundation.org \
--cc=fabf@skynet.be \
--cc=linux-kernel@vger.kernel.org \
--cc=tj@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