Re: [PATCH v2] x86/cpu: fix prototype warning

From: Thomas Gleixner
Date: Thu Nov 08 2018 - 10:36:26 EST


Borislav,

On Thu, 8 Nov 2018, Borislav Petkov wrote:
> And frankly, I don't see why we should be fixing all those. So what if a
> global function does't have a previous prototype declaration?!

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.

Thanks,

tglx