lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Tue, 6 May 2014 09:21:55 +0800
From:	Li Zefan <lizefan@...wei.com>
To:	Fabian Frederick <fabf@...net.be>
CC:	linux-kernel <linux-kernel@...r.kernel.org>,
	akpm <akpm@...ux-foundation.org>, Tejun Heo <tj@...nel.org>
Subject: Re: [PATCH 1/2] kernel/cpuset.c: kernel-doc fixes

On 2014/5/6 1:46, Fabian Frederick wrote:
> This patch also converts seq_printf to seq_puts
> 
> Cc: Li Zefan <lizefan@...wei.com>
> Cc: Andrew Morton <akpm@...ux-foundation.org>
> Signed-off-by: Fabian Frederick <fabf@...net.be>

Acked-by: Li Zefan <lizefan@...wei.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");
>  }
> 

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ