x86/bugs: Use sysfs_emit()
authorBorislav Petkov <bp@suse.de>
Tue, 9 Aug 2022 15:32:02 +0000 (17:32 +0200)
committerBorislav Petkov <bp@suse.de>
Mon, 17 Oct 2022 06:55:49 +0000 (08:55 +0200)
commit1d30800c0c0ae1d086ffad2bdf0ba4403370f132
treef3806f68b1eda2076bdd536cf47fc7290519e60f
parent9abf2313adc1ca1b6180c508c25f22f9395cc780
x86/bugs: Use sysfs_emit()

Those mitigations are very talkative; use the printing helper which pays
attention to the buffer size.

Signed-off-by: Borislav Petkov <bp@suse.de>
Link: https://lore.kernel.org/r/20220809153419.10182-1-bp@alien8.de
arch/x86/kernel/cpu/bugs.c