[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <aXv5BipphkogvzkZ@hu-clew-lv.qualcomm.com>
Date: Thu, 29 Jan 2026 16:19:18 -0800
From: Chris Lew <christopher.lew@....qualcomm.com>
To: Zhongqiu Han <zhongqiu.han@....qualcomm.com>
Cc: andersson@...nel.org, mathieu.poirier@...aro.org, corbet@....net,
rusty@...tcorp.com.au, ohad@...ery.com,
linux-remoteproc@...r.kernel.org, linux-doc@...r.kernel.org,
linux-kernel@...r.kernel.org, linux-arm-msm@...r.kernel.org
Subject: Re: [PATCH 1/5] rpmsg: Replace sprintf() with sysfs_emit() in sysfs
show
On Wed, Dec 17, 2025 at 02:51:08PM +0800, Zhongqiu Han wrote:
> Use sysfs_emit() instead of sprintf() in sysfs attribute show functions.
> sysfs_emit() is the recommended API for sysfs output as it provides buffer
> overflow protection and proper formatting.
>
> No functional changes.
>
> Signed-off-by: Zhongqiu Han <zhongqiu.han@....qualcomm.com>
> ---
> drivers/rpmsg/qcom_smd.c | 2 +-
> drivers/rpmsg/rpmsg_char.c | 6 +++---
> drivers/rpmsg/rpmsg_core.c | 4 ++--
> 3 files changed, 6 insertions(+), 6 deletions(-)
>
Reviewed-by: Chris Lew <christopher.lew@....qualcomm.com>
Powered by blists - more mailing lists