aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/cdx/controller/cdx_controller.c
diff options
context:
space:
mode:
authorAi Chao <[email protected]>2025-01-16 08:10:00 +0000
committerIlpo Järvinen <[email protected]>2025-01-20 12:13:20 +0000
commitfcf1b6f8d8248b4c79e5f7c506010d389f1e4f16 (patch)
tree9ae2166e85ffb9d236f11587c50955494139721f /drivers/cdx/controller/cdx_controller.c
parentplatform/mellanox: mlxbf-bootctl: use sysfs_emit() instead of sprintf() (diff)
downloadkernel-fcf1b6f8d8248b4c79e5f7c506010d389f1e4f16.tar.gz
kernel-fcf1b6f8d8248b4c79e5f7c506010d389f1e4f16.zip
platform/mellanox: mlxreg-hotplug: use sysfs_emit() instead of sprintf()
Follow the advice in Documentation/filesystems/sysfs.rst: show() should only use sysfs_emit() or sysfs_emit_at() when formatting the value to be returned to user space. Signed-off-by: Ai Chao <[email protected]> Acked-by: Vadim Pasternak <[email protected]> Link: https://lore.kernel.org/r/[email protected] Reviewed-by: Ilpo Järvinen <[email protected]> Signed-off-by: Ilpo Järvinen <[email protected]>
Diffstat (limited to 'drivers/cdx/controller/cdx_controller.c')
0 files changed, 0 insertions, 0 deletions