diff options
author | Russell Currey <ruscur@russell.cc> | 2023-02-10 19:03:41 +1100 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2023-02-12 22:12:37 +1100 |
commit | 16943a2faf94ef671e60c7577511c0d119fbdfc8 (patch) | |
tree | fa5c4309f03664a2f194f275acb684654ac02e70 /rust/alloc/lib.rs | |
parent | 26149b02021158248b13e323f06372d87f076883 (diff) |
powerpc/secvar: Use sysfs_emit() instead of sprintf()
The secvar format string and object size sysfs files are both ASCII
text, and should use sysfs_emit(). No functional change.
Suggested-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Russell Currey <ruscur@russell.cc>
Signed-off-by: Andrew Donnellan <ajd@linux.ibm.com>
Reviewed-by: Stefan Berger <stefanb@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20230210080401.345462-7-ajd@linux.ibm.com
Diffstat (limited to 'rust/alloc/lib.rs')
0 files changed, 0 insertions, 0 deletions