Skip to content

Commit 9878bf7

Browse files
committed
tools/power turbostat: No build warnings with -Wextra
Signed-off-by: Len Brown <len.brown@intel.com>
1 parent 164d7a9 commit 9878bf7

2 files changed

Lines changed: 142 additions & 63 deletions

File tree

tools/power/x86/turbostat/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ ifeq ("$(origin O)", "command line")
99
endif
1010

1111
turbostat : turbostat.c
12-
override CFLAGS += -O2 -Wall -I../../../include
12+
override CFLAGS += -O2 -Wall -Wextra -I../../../include
1313
override CFLAGS += -DMSRHEADER='"../../../../arch/x86/include/asm/msr-index.h"'
1414
override CFLAGS += -DINTEL_FAMILY_HEADER='"../../../../arch/x86/include/asm/intel-family.h"'
1515
override CFLAGS += -D_FILE_OFFSET_BITS=64

0 commit comments

Comments
 (0)