[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20181108154121.GG7543@zn.tnic>
Date: Thu, 8 Nov 2018 16:41:21 +0100
From: Borislav Petkov <bp@...en8.de>
To: Thomas Gleixner <tglx@...utronix.de>
Cc: Yi Wang <wang.yi59@....com.cn>, Michael Matz <matz@...e.de>,
mingo@...hat.com, hpa@...or.com, x86@...nel.org,
suravee.suthikulpanit@....com, puwen@...on.cn,
davidwang@...oxin.com, linux-kernel@...r.kernel.org,
zhong.weidong@....com.cn
Subject: Re: [PATCH v2] x86/cpu: fix prototype warning
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.
Powered by blists - more mailing lists