Bug 202917
Summary: | Kernel does not compile on AMD system (compiler warnings) | ||
---|---|---|---|
Product: | Platform Specific/Hardware | Reporter: | mmelchert (michael.melchert) |
Component: | x86-64 | Assignee: | platform_x86_64 (platform_x86_64) |
Status: | RESOLVED CODE_FIX | ||
Severity: | normal | CC: | uvladimir |
Priority: | P1 | ||
Hardware: | x86-64 | ||
OS: | Linux | ||
Kernel Version: | 4.19.29 | Subsystem: | |
Regression: | No | Bisected commit-id: | |
Attachments: | working ./arch/x86/events/perf_event.h |
Description
mmelchert
2019-03-14 09:38:21 UTC
fixed it myself. must be a simple typo since prototypes and following functions in ./arch/x86/events/perf_event.h carry different datatypes for parameter static inline int intel_cpuc_prepare() static inline void intel_cpuc_finish() Michael Created attachment 281845 [details]
working ./arch/x86/events/perf_event.h
fixed typo in perf_event.h for 4.19.29.
*** Bug 202933 has been marked as a duplicate of this bug. *** Peter Zijlstra already patched the code. I assume it will go directly into the different trees and will be fixed with the next release. https://lkml.org/lkml/2019/3/15/86 |