* [PATCH] kernel-doc: drop __must_check and various "inline" qualifiers
@ 2006-10-09 3:08 Randy Dunlap
2006-10-09 13:00 ` Rolf Eike Beer
0 siblings, 1 reply; 3+ messages in thread
From: Randy Dunlap @ 2006-10-09 3:08 UTC (permalink / raw)
To: lkml; +Cc: akpm
From: Randy Dunlap <rdunlap@xenotime.net>
Drop __inline, __always_inline, noinline, and __must_check in the
produced kernel-doc output, similar to other pseudo directives.
Signed-off-by: Randy Dunlap <rdunlap@xenotime.net>
---
scripts/kernel-doc | 4 ++++
1 files changed, 4 insertions(+)
--- linux-2619-rc1g3.orig/scripts/kernel-doc
+++ linux-2619-rc1g3/scripts/kernel-doc
@@ -1518,7 +1518,11 @@ sub dump_function($$) {
$prototype =~ s/^asmlinkage +//;
$prototype =~ s/^inline +//;
$prototype =~ s/^__inline__ +//;
+ $prototype =~ s/^__inline +//;
+ $prototype =~ s/^__always_inline +//;
+ $prototype =~ s/^noinline +//;
$prototype =~ s/__devinit +//;
+ $prototype =~ s/__must_check +//;
$prototype =~ s/^#define +//; #ak added
$prototype =~ s/__attribute__ \(\([a-z,]*\)\)//;
---
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: [PATCH] kernel-doc: drop __must_check and various "inline" qualifiers
2006-10-09 3:08 [PATCH] kernel-doc: drop __must_check and various "inline" qualifiers Randy Dunlap
@ 2006-10-09 13:00 ` Rolf Eike Beer
2006-10-09 15:15 ` [PATCH v2] kernel-doc: drop " Randy Dunlap
0 siblings, 1 reply; 3+ messages in thread
From: Rolf Eike Beer @ 2006-10-09 13:00 UTC (permalink / raw)
To: Randy Dunlap; +Cc: lkml, akpm
[-- Attachment #1: Type: text/plain, Size: 435 bytes --]
Randy Dunlap wrote:
> From: Randy Dunlap <rdunlap@xenotime.net>
>
> Drop __inline, __always_inline, noinline, and __must_check in the
> produced kernel-doc output, similar to other pseudo directives.
The inline status of a function is not of much help for a developer, that's
right. But I would like to see the the __must_check in the documentation.
This it what makes a difference, the inline stuff is extraneous.
Eike
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH v2] kernel-doc: drop various "inline" qualifiers
2006-10-09 13:00 ` Rolf Eike Beer
@ 2006-10-09 15:15 ` Randy Dunlap
0 siblings, 0 replies; 3+ messages in thread
From: Randy Dunlap @ 2006-10-09 15:15 UTC (permalink / raw)
To: Rolf Eike Beer; +Cc: lkml, akpm
On Mon, 9 Oct 2006 15:00:18 +0200 Rolf Eike Beer wrote:
> The inline status of a function is not of much help for a developer, that's
> right. But I would like to see the the __must_check in the documentation.
> This it what makes a difference, the inline stuff is extraneous.
---
From: Randy Dunlap <rdunlap@xenotime.net>
Drop __inline, __always_inline, and noinline in the
produced kernel-doc output, similar to other pseudo directives.
Signed-off-by: Randy Dunlap <rdunlap@xenotime.net>
---
scripts/kernel-doc | 3 +++
1 files changed, 3 insertions(+)
--- linux-2619-rc1g3.orig/scripts/kernel-doc
+++ linux-2619-rc1g3/scripts/kernel-doc
@@ -1518,6 +1518,9 @@ sub dump_function($$) {
$prototype =~ s/^asmlinkage +//;
$prototype =~ s/^inline +//;
$prototype =~ s/^__inline__ +//;
+ $prototype =~ s/^__inline +//;
+ $prototype =~ s/^__always_inline +//;
+ $prototype =~ s/^noinline +//;
$prototype =~ s/__devinit +//;
$prototype =~ s/^#define +//; #ak added
$prototype =~ s/__attribute__ \(\([a-z,]*\)\)//;
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2006-10-09 15:14 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-10-09 3:08 [PATCH] kernel-doc: drop __must_check and various "inline" qualifiers Randy Dunlap
2006-10-09 13:00 ` Rolf Eike Beer
2006-10-09 15:15 ` [PATCH v2] kernel-doc: drop " Randy Dunlap
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox