diff options
| author | 2022-09-01 09:34:23 +0800 | |
|---|---|---|
| committer | 2022-09-09 10:37:52 +0200 | |
| commit | ceecbbddbf549fe0b7ffa3804a6e255b3360030f (patch) | |
| tree | d303b39ef352a0528b064e64ef7489a0e13dc428 /include/uapi/linux | |
| parent | misc: pci_endpoint_test: Fix pci_endpoint_test_{copy,write,read}() panic (diff) | |
| download | linux-dev-ceecbbddbf549fe0b7ffa3804a6e255b3360030f.tar.xz linux-dev-ceecbbddbf549fe0b7ffa3804a6e255b3360030f.zip | |
comedi: convert sysfs snprintf to sysfs_emit
Follow the advice of the Documentation/filesystems/sysfs.rst
and show() should only use sysfs_emit() or sysfs_emit_at()
when formatting the value to be returned to user space.
Signed-off-by: Xuezhi Zhang <zhangxuezhi1@coolpad.com>
Link: https://lore.kernel.org/r/20220901013423.418464-1-zhangxuezhi3@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/uapi/linux')
0 files changed, 0 insertions, 0 deletions
