Re: [PATCH 45/58] x86: Fix prototype for renamed function smp_threshold_interrupt

From: Kees Cook
Date: Mon Nov 19 2012 - 13:27:09 EST


On Sun, Nov 18, 2012 at 9:28 PM, Josh Triplett <josh@xxxxxxxxxxxxxxxx> wrote:
> Commit 7856f6cce4a8cda8c1f94b99605c07d16b8d8dec renamed
> mce_threshold_interrupt to smp_threshold_interrupt, but did not update
> the prototype in arch/x86/include/asm/traps.h to match. Update the
> prototype to the new name.
>
> This also eliminates warnings from GCC (-Wmissing-prototypes) and Sparse
> (-Wdecl).
>
> arch/x86/kernel/traps.c:597:29: warning: no previous prototype for ‘smp_threshold_interrupt’ [-Wmissing-prototypes]
>
> Signed-off-by: Josh Triplett <josh@xxxxxxxxxxxxxxxx>

Acked-by: Kees Cook <keescook@xxxxxxxxxxxx>

-Kees

--
Kees Cook
Chrome OS Security
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/