lkml.org 
[lkml]   [2017]   [Sep]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [patch V2 25/29] lockup_detector: Implement init time detection of perf

* 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

\
 
 \ /
  Last update: 2017-09-14 07:28    [W:0.218 / U:0.164 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site