Web lists-archives.com

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




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