Re: [PATCH v2] drivers/ptp: Convert snprintf to sysfs_emit

From: patchwork-bot+netdevbpf
Date: Sat Jan 27 2024 - 00:10:49 EST


Hello:

This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@xxxxxxxxxx>:

On Thu, 25 Jan 2024 09:53:29 +0800 you wrote:
> Per filesystems/sysfs.rst, show() should only use sysfs_emit()
> or sysfs_emit_at() when formatting the value to be returned to user space.
>
> coccinelle complains that there are still a couple of functions that use
> snprintf(). Convert them to sysfs_emit().
>
> > ./drivers/ptp/ptp_sysfs.c:27:8-16: WARNING: please use sysfs_emit
>
> [...]

Here is the summary with links:
- [v2] drivers/ptp: Convert snprintf to sysfs_emit
https://git.kernel.org/netdev/net-next/c/8d0293302dfb

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html