Re: [PATCH v3] staging: fieldbus: replace snprintf with sysfs_emit

From: Greg KH
Date: Fri Dec 03 2021 - 02:19:07 EST


On Fri, Dec 03, 2021 at 09:17:32AM +0800, davidcomponentone@xxxxxxxxx wrote:
> From: Yang Guang <yang.guang5@xxxxxxxxxx>

Does not match the address you send this email from as reported many
times to you.

>
> coccinelle report:
> ./drivers/staging/fieldbus/dev_core.c:73:8-16:
> WARNING: use scnprintf or sprintf
>
> Use sysfs_emit instead of scnprintf or sprintf makes more sense.
>
> Reported-by: Zeal Robot <zealci@xxxxxxxxxx>

Again, I have commented on the use of this many times already. I will
not take this change until you at least discuss it with us.

sorry,

greg k-h