lkml.org 
[lkml]   [2022]   [Nov]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH linux-next v2] zram: use sysfs_emit() to instead of scnprintf()
Hi,

On Tue, Nov 15, 2022 at 08:04:47PM +0800, yang.yang29@zte.com.cn wrote:
> From: Xu Panda <xu.panda@zte.com.cn>
>
> Replace the open-code with sysfs_emit() to simplify the code.
> ---
> change for v2
> - realign params of sysfs_emit().
> ---
>
> Signed-off-by: Xu Panda <xu.panda@zte.com.cn>
> Signed-off-by: Yang Yang <yang.yang29@zte.com>

Recently, we added one more stat is using the scnprintf in mm-unstable
tree? recomp_algorithm_show

Could you also change it?

Thanks!

\
 
 \ /
  Last update: 2022-11-16 00:33    [W:0.038 / U:1.128 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site