linux-stable/tools/power
Len Brown 3069eab7ee tools/power turbostat: Fix gcc build warnings
[ Upstream commit d8d005ba6a ]

Warning: ‘__builtin_strncpy’ specified bound 20 equals destination size
	[-Wstringop-truncation]

reduce param to strncpy, to guarantee that a null byte is always copied
into destination buffer.

Signed-off-by: Len Brown <len.brown@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-04-13 10:34:20 +02:00
..
acpi tools/power/acpi: fix compilation error 2020-02-14 16:32:22 -05:00
cpupower cpupower: avoid multiple definition with gcc -fno-common 2020-04-02 16:34:26 +02:00
pm-graph License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
x86 tools/power turbostat: Fix gcc build warnings 2020-04-13 10:34:20 +02:00