Re: [PATCH] scsi: aic94xx: Use sysfs_emit in show function callsbacks

From: Deepak R Varma
Date: Sat Jan 07 2023 - 15:14:13 EST


On Fri, Dec 23, 2022 at 11:20:02PM +0530, Deepak R Varma wrote:
> According to Documentation/filesystems/sysfs.rst, the show() callback
> function of kobject attributes should strictly use sysfs_emit instead
> of sprintf family functions.
> Issue identified using the coccinelle device_attr_show.cocci script.
>
> Signed-off-by: Deepak R Varma <drv@xxxxxxxxx>
> ---

Hello,
Requesting a review and feedback on this patch proposal. There are a few other
similar patches for other scsi drivers that also need your comments. Request to
also review those.

Thank you,
./drv