lkml.org 
[lkml]   [2006]   [Jul]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 1/3] kernel-doc: ignore __devinit
On Wed, 19 Jul 2006, Martin Waitz wrote:

> hoi :)
>
> On Tue, Jul 18, 2006 at 02:32:35PM -0700, Randy Dunlap wrote:
> > From: Randy Dunlap <rdunlap@xenotime.net>
> >
> > Ignore __devinit in function definitions so that kernel-doc won't
> > fail on them.
>
> why would it fall over __devinit?

It doesn't match any of those awful regex strings when
looking for function prototypes, so kernel-doc (the script)
coughs and dies, as noted in DocBook/kernel-api.tmpl
for drivers/pci/search.c.

> And shouldn't we add __{dev}?init{data}? while we are at it?

Yes, in theory at least (for __init and __exit, not __initdata,
since this is in function definitios).
I just haven't run into the need for those yet.

--
~Randy
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-07-19 14:43    [W:0.024 / U:0.272 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site