[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <D164FDF6-D32B-437F-92BA-B519B583D6A2@alien8.de>
Date: Thu, 29 Dec 2016 18:21:16 +0200
From: Boris Petkov <bp@...en8.de>
To: Augusto Mecking Caringi <augustocaringi@...il.com>,
Tony Luck <tony.luck@...el.com>
CC: Thomas Gleixner <tglx@...utronix.de>,
Ingo Molnar <mingo@...hat.com>,
"H. Peter Anvin" <hpa@...or.com>, x86@...nel.org,
linux-edac@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] x86: mce: Fix build warning when !CONFIG_X86_LOCAL_APIC
On December 29, 2016 5:28:49 PM GMT+02:00, Augusto Mecking Caringi <augustocaringi@...il.com> wrote:
>The mce_irq_ipi() function is only called inside a #ifdef
>CONFIG_X86_LOCAL_APIC block, if this option is disabled gcc gives the
>following build warning:
>
>arch/x86/kernel/cpu/mcheck/mce-inject.c:97:13: warning: ‘mce_irq_ipi’
>defined but not used [-Wunused-function]
>static void mce_irq_ipi(void *info)
> ^
>
>Fix it marking this function as __maybe_unused.
See http://lkml.kernel.org/r/20161218083748.GA1034@gmail.com
--
Sent from a small device: formatting sux and brevity is inevitable.
Powered by blists - more mailing lists