Skip to contentSkip to conversation

cpupower: avoid multiple definition with gcc -fno-common

PATCH shuah 1 participant 1 message Feb 11, 2020

lore
Share & tools
lore

shuah

author
#0 lore raw

Hi Mike,

You submitted the following patch.

The -fno-common option will be enabled by default in GCC 10.

https://patchwork.kernel.org/patch/11361221/

Please resend it fixing the following problems and to to recipients suggest by get_maintainers script.

WARNING: externs should be avoided in .c files
#65: FILE: tools/power/cpupower/utils/idle_monitor/amd_fam14h_idle.c:85:
+extern struct timespec start_time;

thanks,
-- Shuah