Re: [PATCH v2] x86/cpu: fix prototype warning
From: Borislav Petkov
Date: Thu Nov 08 2018 - 10:41:26 EST
On Thu, Nov 08, 2018 at 04:35:45PM +0100, Thomas Gleixner wrote:
> Global function declarations must have a prototype definition, really.
>
> Otherwise you can change the function signature and all callers which use
> the old unchanged prototype are hosed.
Ok, should we then enable this warning by default?
It is an extra warning now, behind W=1.
--
Regards/Gruss,
Boris.
Good mailing practices for 400: avoid top-posting and trim the reply.