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

From: Thomas Gleixner
Date: Wed Sep 13 2017 - 14:05:28 EST


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 ....