diff options
author | 2024-06-25 23:11:23 +0800 | |
---|---|---|
committer | 2024-07-02 16:56:18 +0200 | |
commit | 920526928089b00be7881c7112a463fe8a63371b (patch) | |
tree | 0bc75f0383df661421d8ed9f4ca25be7f10823c9 /scripts/generate_rust_analyzer.py | |
parent | selftests/livepatch: Add selftests for "replace" sysfs attribute (diff) | |
download | linux-rng-920526928089b00be7881c7112a463fe8a63371b.tar.xz linux-rng-920526928089b00be7881c7112a463fe8a63371b.zip |
livepatch: Replace snprintf() with sysfs_emit()
Let's use sysfs_emit() instead of snprintf().
Suggested-by: Miroslav Benes <mbenes@suse.cz>
Signed-off-by: Yafang Shao <laoar.shao@gmail.com>
Reviewed-by: Petr Mladek <pmladek@suse.com>
Acked-by: Miroslav Benes <mbenes@suse.cz>
Link: https://lore.kernel.org/r/20240625151123.2750-4-laoar.shao@gmail.com
Signed-off-by: Petr Mladek <pmladek@suse.com>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions