diff options
author | Sumanth Gavini <sumanth.gavini@yahoo.com> | 2025-07-03 19:34:22 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-07-07 11:05:30 +0200 |
commit | 7168c06d9ba0932466272ac8bfbdd793a4fab636 (patch) | |
tree | 3f2d1d4e5b7e642df1cb6b6ece295c457ad37c69 /scripts/gdb/linux/xarray.py | |
parent | b581e472d95d584d2e30e34f3e055d9754faddb2 (diff) |
usb: gadget: f_uac2: replace scnprintf() with sysfs_emit()
Documentation/filesystems/sysfs.rst mentions that show() should only
use sysfs_emit() or sysfs_emit_at() when formating the value to be
returned to user space. So replace scnprintf() with sysfs_emit().
Signed-off-by: Sumanth Gavini <sumanth.gavini@yahoo.com>
Link: https://lore.kernel.org/r/20250704003425.467299-1-sumanth.gavini@yahoo.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/gdb/linux/xarray.py')
0 files changed, 0 insertions, 0 deletions