[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <f66ef6d0-18f7-ebef-0297-ad2f2d578aff@linux.intel.com>
Date: Wed, 9 Aug 2023 09:54:34 -0700
From: Daniel Sneddon <daniel.sneddon@...ux.intel.com>
To: Arnd Bergmann <arnd@...nel.org>, x86@...nel.org,
Thomas Gleixner <tglx@...utronix.de>,
Ingo Molnar <mingo@...hat.com>, Borislav Petkov <bp@...en8.de>,
Dave Hansen <dave.hansen@...ux.intel.com>,
Sean Christopherson <seanjc@...gle.com>,
Paolo Bonzini <pbonzini@...hat.com>,
Josh Poimboeuf <jpoimboe@...nel.org>
Cc: Arnd Bergmann <arnd@...db.de>, "H. Peter Anvin" <hpa@...or.com>,
"Peter Zijlstra (Intel)" <peterz@...radead.org>,
Maxim Levitsky <mlevitsk@...hat.com>,
Michal Luczaj <mhal@...x.co>, linux-kernel@...r.kernel.org,
kvm@...r.kernel.org
Subject: Re: [PATCH 2/2] x86: move gds_ucode_mitigated() declaration to header
HI Arnd,
On 8/9/23 06:05, Arnd Bergmann wrote:
> From: Arnd Bergmann <arnd@...db.de>
>
> The declaration got placed in the .c file of the caller, but that
> causes a warning for the definition:
>
> arch/x86/kernel/cpu/bugs.c:682:6: error: no previous prototype for 'gds_ucode_mitigated' [-Werror=missing-prototypes]
When I build with gcc 9.4 and the x86_64_defconfig I don't see this warning even
without this patch. I'm curious why you're seeing it and I'm not. Any ideas?
Thanks,
Dan
Powered by blists - more mailing lists