Skip to content
Commit 27ef01e3 authored by Xuezhi Zhang's avatar Xuezhi Zhang Committed by Greg Kroah-Hartman
Browse files

usbip: 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: default avatarXuezhi Zhang <zhangxuezhi1@coolpad.com>
Reviewed-by: default avatarShuah Khan <skhan@linuxfoundation.org>
Link: https://lore.kernel.org/r/20221014110606.599352-1-zhangxuezhi3@gmail.com


Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 13cc02f1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment