Re: [patch V2 25/29] lockup_detector: Implement init time detection of perf

From: Ingo Molnar
Date: Thu Sep 14 2017 - 01:27:38 EST



* Thomas Gleixner <tglx@xxxxxxxxxxxxx> wrote:

> On Wed, 13 Sep 2017, Don Zickus wrote:
> > > +/* Return 0, if a NMI watchdog is available. Error code otherwise */
> > > +int __weak __init void watchdog_nmi_probe(void)
> >
> > ^^^ compile error, can't have 'int' and 'void'. Removing 'void' fixes it.
>
> Yes, I know. I feel stupid because I'm 100% sure that I compiled it ....

So there a Kconfig dependency on that - defconfig won't show it, which might be
why you didn't see it?

Thanks,

Ingo