LiquidSmooth-Devices/kernel_oneplus_msm8974 — pull request #1 by mikecriggs (2014-08-27 22:50:59+00:00)
Title: find7u: remove '-Werror-implicit-function-declaration' flag

KBUILD_CFLAG removed: "-Werror-implicit-function-declaration"

Troublesome files that need to be fixed (along with errors and lines) in order to use this flag:

1) arch/arm/mach-msm/perf_trace_counters.c: In function 'init_tracecounters':
arch/arm/mach-msm/perf_trace_counters.c:173:2: error: implicit declaration of function 'register_cpu_notifier' [-Werror=implicit-function-declaration]

2) arch/arm/mach-msm/perf_trace_counters.c: In function 'exit_tracecounters':
arch/arm/mach-msm/perf_trace_counters.c:181:2: error: implicit declaration of function 'unregister_cpu_notifier' [-Werror=implicit-function-declaration]

Other errors with this file that require special attention:

1) arch/arm/mach-msm/perf_trace_counters.c: In function 'tracectr_cpu_hotplug_notifier':
arch/arm/mach-msm/perf_trace_counters.c:32:18: error: 'CPU_TASKS_FROZEN' undeclared (first use in this function)
arch/arm/mach-msm/perf_trace_counters.c:32:18: note: each undeclared identifier is reported only once for each function it