linux-stable/tools/power/x86
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
..
intel_pstate_tracer tools/power/x86/intel_pstate_tracer: Adjust directory ownership 2017-04-19 02:47:28 +02:00
turbostat tools/power turbostat: Fix gcc build warnings 2020-04-13 10:34:20 +02:00
x86_energy_perf_policy tools/power x86_energy_perf_policy: Fix argument parsing 2019-09-21 07:15:42 +02:00