diff options
| author | Li Zhijian <[email protected]> | 2024-01-22 05:39:42 +0000 |
|---|---|---|
| committer | Takashi Sakamoto <[email protected]> | 2024-03-11 01:38:13 +0000 |
| commit | d4db89c34521a83371fd46bea34834dff128a5cf (patch) | |
| tree | d4813963a79a5ab2b612f3e41fdf25e4b5deddc5 /drivers/fpga/ts73xx-fpga.c | |
| parent | firewire: Kill unnecessary buf check in device_attribute.show (diff) | |
| download | kernel-d4db89c34521a83371fd46bea34834dff128a5cf.tar.gz kernel-d4db89c34521a83371fd46bea34834dff128a5cf.zip | |
firewire: Convert snprintf/sprintf to sysfs_emit
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/firewire/core-device.c:326:8-16: WARNING: please use sysfs_emit or sysfs_emit_at
No functional change intended
Signed-off-by: Li Zhijian <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Takashi Sakamoto <[email protected]>
Diffstat (limited to 'drivers/fpga/ts73xx-fpga.c')
0 files changed, 0 insertions, 0 deletions
