Re: [PATCH] can: janz-ican3: use sysfs_emit() in fwinfo_show()

Marc Kleine-Budde
2025-07-15T09:45:03Z

[-- Attachment #1: Type: text/plain, Size: 653 bytes --]

On 12.07.2025 16:36:07, Khaled Elnaggar wrote:
> As recommended in Documentation/filesystems/sysfs.rst, show() callbacks
> should use sysfs_emit() or sysfs_emit_at() to format values returned to
> userspace. Replace scnprintf() with sysfs_emit() in fwinfo_show().
>
> Signed-off-by: Khaled Elnaggar <khaledelnaggarlinux@gmail.com>

Applied to linux-can-next.

Thanks,
Marc

--
Pengutronix e.K. | Marc Kleine-Budde |
Embedded Linux | https://www.pengutronix.de |
Vertretung Nürnberg | Phone: +49-5121-206917-129 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-9 |

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]