commit | 847e33867b65fdc4747a15646d1fdb94e65740a6 | [log] [tgz] |
---|---|---|
author | Takashi Iwai <tiwai@suse.de> | Wed Mar 11 09:02:07 2020 +0100 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Wed Mar 11 09:08:44 2020 +0100 |
tree | 74f66a850430f147dd32d0a5e65680ec59fc950c | |
parent | 4636a04630f632262e915f62deb59fa0f3ee5186 [diff] |
drivers/base/cpu: Simplify s*nprintf() usages Use the simpler sprintf() instead of snprintf() or scnprintf() in a single-shot sysfs output callbacks where you are very sure that it won't go over PAGE_SIZE buffer limit. Signed-off-by: Takashi Iwai <tiwai@suse.de> Link: https://lore.kernel.org/r/20200311080207.12046-3-tiwai@suse.de Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>