[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <f617320f0afc758e408b3f2bd525ac942729c83e.camel@linux.ibm.com>
Date: Fri, 20 Jun 2025 18:51:45 +1000
From: Andrew Donnellan <ajd@...ux.ibm.com>
To: Ankit Chauhan <ankitchauhan2065@...il.com>, fbarrat@...ux.ibm.com,
arnd@...db.de, gregkh@...uxfoundation.org
Cc: linuxppc-dev@...ts.ozlabs.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] misc: ocxl: Replace scnprintf() with sysfs_emit() in
sysfs show functions
On Fri, 2025-06-20 at 08:17 +0530, Ankit Chauhan wrote:
> Replace scnprintf() with sysfs_emit() in sysfs show functions.
> These helpers are preferred in sysfs callbacks because they
> automatically
> handle buffer size and improve safety and readability.
>
> Signed-off-by: Ankit Chauhan <ankitchauhan2065@...il.com>
Thanks for the cleanup!
Acked-by: Andrew Donnellan <ajd@...ux.ibm.com>
--
Andrew Donnellan OzLabs, ADL Canberra
ajd@...ux.ibm.com IBM Australia Limited
Powered by blists - more mailing lists