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

Ingo Molnar
2017-09-14T05:27:20Z

* Thomas Gleixner <tglx@linutronix.de> 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