[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <aXH2D06eZ5DRTVi0@yilunxu-OptiPlex-7050>
Date: Thu, 22 Jan 2026 18:03:59 +0800
From: Xu Yilun <yilun.xu@...ux.intel.com>
To: Dinh Nguyen <dinguyen@...nel.org>
Cc: mdf@...nel.org, yilun.xu@...el.com, trix@...hat.com,
linux-fpga@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] fpga: bridge: Use sysfs_emit() instead of sprintf()
On Fri, Jan 16, 2026 at 10:36:26PM -0600, Dinh Nguyen wrote:
> According to Documentation/filesystems/sysfs.rst, show() functions
> should use sysfs_emit() when formatting the value to be returned to user
The doc says "New implementations ... should only use ...". The existing
code is OK, the patch is also OK, but sorry I expect we don't churn code
just for doing it. We could also append these trivial changes along with
patchsets that make real improvements.
Thanks,
Yilun
Powered by blists - more mailing lists