linux-doc.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] kernel-doc: Remove __sched markings
@ 2018-03-15 12:06 Matthew Wilcox
  2018-03-21 15:09 ` Jonathan Corbet
  0 siblings, 1 reply; 2+ messages in thread
From: Matthew Wilcox @ 2018-03-15 12:06 UTC (permalink / raw)
  To: linux-doc, Jonathan Corbet

From: Matthew Wilcox <mawilcox@microsoft.com>

I find the __sched annotations unaesthetic in the kernel-doc.  Remove
them like we remove __inline, __weak, __init and so on.

Signed-off-by: Matthew Wilcox <mawilcox@microsoft.com>

diff --git a/scripts/kernel-doc b/scripts/kernel-doc
index ae3cac118a11..eb986a7809d3 100755
--- a/scripts/kernel-doc
+++ b/scripts/kernel-doc
@@ -1578,6 +1578,7 @@ sub dump_function($$) {
     $prototype =~ s/__meminit +//;
     $prototype =~ s/__must_check +//;
     $prototype =~ s/__weak +//;
+    $prototype =~ s/__sched +//;
     my $define = $prototype =~ s/^#\s*define\s+//; #ak added
     $prototype =~ s/__attribute__\s*\(\(
             (?:

--
To unsubscribe from this list: send the line "unsubscribe linux-doc" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] kernel-doc: Remove __sched markings
  2018-03-15 12:06 [PATCH] kernel-doc: Remove __sched markings Matthew Wilcox
@ 2018-03-21 15:09 ` Jonathan Corbet
  0 siblings, 0 replies; 2+ messages in thread
From: Jonathan Corbet @ 2018-03-21 15:09 UTC (permalink / raw)
  To: Matthew Wilcox; +Cc: linux-doc

On Thu, 15 Mar 2018 05:06:23 -0700
Matthew Wilcox <willy@infradead.org> wrote:

> I find the __sched annotations unaesthetic in the kernel-doc.  Remove
> them like we remove __inline, __weak, __init and so on.

Makes sense, applied, thanks.

jon
--
To unsubscribe from this list: send the line "unsubscribe linux-doc" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-03-21 15:09 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-03-15 12:06 [PATCH] kernel-doc: Remove __sched markings Matthew Wilcox
2018-03-21 15:09 ` Jonathan Corbet

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).