aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_out.c
diff options
context:
space:
mode:
authorLike Xu <[email protected]>2023-06-25 15:34:38 +0800
committerSean Christopherson <[email protected]>2023-07-31 13:55:26 -0700
commit1d6664fadda3e028b8220ba1ba487a928e801825 (patch)
tree197f81e5a4d6b4f1a6e41618c7de9542ecb13ac6 /net/lapb/lapb_out.c
parentfdf0eaf11452d72945af31804e2a1048ee1b574c (diff)
KVM: x86: Use sysfs_emit() instead of sprintf()
Use sysfs_emit() instead of the sprintf() for sysfs entries. sysfs_emit() knows the maximum of the temporary buffer used for outputting sysfs content and avoids overrunning the buffer length. Signed-off-by: Like Xu <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Sean Christopherson <[email protected]>
Diffstat (limited to 'net/lapb/lapb_out.c')
0 files changed, 0 insertions, 0 deletions