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]
Message-ID: <20241107134502.GA14814@lst.de>
Date: Thu, 7 Nov 2024 14:45:02 +0100
From: Christoph Hellwig <hch@....de>
To: zhangguopeng <zhangguopeng@...inos.cn>
Cc: axboe@...nel.dk, linux-block@...r.kernel.org, hch@....de,
	ming.lei@...hat.com, yukuai3@...wei.com,
	linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2] block: Replace sprintf() with sysfs_emit()

On Thu, Nov 07, 2024 at 06:42:58PM +0800, zhangguopeng wrote:
> Per Documentation/filesystems/sysfs.rst, show() should only use
> sysfs_emit() or sysfs_emit_at() when formatting the value to be
> returned to user space.

Looks good:

Reviewed-by: Christoph Hellwig <hch@....de>


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ