aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/base/firmware_loader/fallback.c
diff options
context:
space:
mode:
authorTakashi Iwai <[email protected]>2020-03-11 08:02:07 +0000
committerGreg Kroah-Hartman <[email protected]>2020-03-11 08:08:44 +0000
commit847e33867b65fdc4747a15646d1fdb94e65740a6 (patch)
tree74f66a850430f147dd32d0a5e65680ec59fc950c /drivers/base/firmware_loader/fallback.c
parentdrivers/base/cpu: Use scnprintf() for avoiding potential buffer overflow (diff)
downloadkernel-847e33867b65fdc4747a15646d1fdb94e65740a6.tar.gz
kernel-847e33867b65fdc4747a15646d1fdb94e65740a6.zip
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 <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/base/firmware_loader/fallback.c')
0 files changed, 0 insertions, 0 deletions