Re: [PATCH] x86/kernel: Fix more -Wmissing-prototypes warnings

From: Rafael J. Wysocki
Date: Wed Dec 05 2018 - 07:44:26 EST


On Wed, Dec 5, 2018 at 11:11 AM Borislav Petkov <bp@xxxxxxxxx> wrote:
>
> From: Borislav Petkov <bp@xxxxxxx>
>
> ... with the goal of eventually enabling -Wmissing-prototypes by
> default. At least on x86.
>
> Make functions static where possible, otherwise add prototypes or make
> them visible through includes.
>
> asm/trace/ changes courtesy of Steven Rostedt <rostedt@xxxxxxxxxxx>.
>
> Signed-off-by: Borislav Petkov <bp@xxxxxxx>

Acked-by: Rafael J. Wysocki <rafael.j.wysocki@xxxxxxxxx>

for the ACPI and cpufreq bits.