diff options
| author | Azeem Shaikh <[email protected]> | 2023-06-14 13:37:57 +0000 |
|---|---|---|
| committer | Chuck Lever <[email protected]> | 2023-06-17 17:18:07 +0000 |
| commit | a9156d7e7d6a811a0ac1a2bc9ab6006bb928e871 (patch) | |
| tree | 62570fdca13ad0877ece482eb5298e9ebd08fce3 /lib/string_helpers.c | |
| parent | SUNRPC: Remove transport class dprintk call sites (diff) | |
| download | kernel-a9156d7e7d6a811a0ac1a2bc9ab6006bb928e871.tar.gz kernel-a9156d7e7d6a811a0ac1a2bc9ab6006bb928e871.zip | |
SUNRPC: Use sysfs_emit in place of strlcpy/sprintf
Part of an effort to remove strlcpy() tree-wide [1].
Direct replacement is safe here since the getter in kernel_params_ops
handles -errno return [2].
[1] https://github.com/KSPP/linux/issues/89
[2] https://elixir.bootlin.com/linux/v6.4-rc6/source/include/linux/moduleparam.h#L52
Signed-off-by: Azeem Shaikh <[email protected]>
Signed-off-by: Chuck Lever <[email protected]>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions
