Re: [PATCH] kernel/trace/trace_kprobe.c - fix comment format

From: Steven Rostedt
Date: Tue Mar 12 2019 - 11:23:18 EST


On Tue, 12 Mar 2019 05:08:30 -0400
valdis.kletnieks@xxxxxx wrote:

> On Tue, 12 Mar 2019 04:58:32 -0400, "Valdis KlÄtnieks" said:
> >
> > CC kernel/trace/trace_kprobe.o
> > kernel/trace/trace_kprobe.c:41: warning: cannot understand function prototype: 'struct trace_kprobe '
> >
> > The real problem is that a comment looked like kerneldoc when it shouldn't be...
>
> After finding another case of this, it's debatable whether the *REAL* real
> problem is that gcc is buggy/incomplete and doesn't know that kerneldoc
> comments can be applied to structure definitions as well....
>
> What's the consensus? Should I go yell at the gcc people instead, or?

Nevermind, I mistook your patch as adding a kernel doc comment.

It's fine, I'll take it.

Thanks!

-- Steve