mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] Doc: MODULE_SUPPORTED_DEVICE is not implemented
@ 2015-06-19 14:10 Paul Bolle
  2015-06-22 16:33 ` Jonathan Corbet
  0 siblings, 1 reply; 3+ messages in thread
From: Paul Bolle @ 2015-06-19 14:10 UTC (permalink / raw)
  To: Jonathan Corbet; +Cc: linux-doc, linux-kernel

The MODULE_SUPPORTED_DEVICE macro is documented as
    Not Yet Implemented

for over a decade now. It will clearly never be implemented. Remove a
reference to it from a DocBook template.

Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
---
Module "classes"? I removed that too.

Running "make xmldocs" always ends with
    make[1]: *** No rule to make target `xmldocs'.  Stop.
    make: *** [xmldocs] Error 2

for me. But writing-an-alsa-driver.xml was generated just fine, so that
must be something unrelated.

 Documentation/DocBook/writing-an-alsa-driver.tmpl | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

diff --git a/Documentation/DocBook/writing-an-alsa-driver.tmpl b/Documentation/DocBook/writing-an-alsa-driver.tmpl
index 84ef6a90131c..6a2a346b4a22 100644
--- a/Documentation/DocBook/writing-an-alsa-driver.tmpl
+++ b/Documentation/DocBook/writing-an-alsa-driver.tmpl
@@ -5896,17 +5896,15 @@ struct _snd_pcm_runtime {
     </para>
 
     <para>
-      Also, don't forget to define the module description, classes,
-      license and devices. Especially, the recent modprobe requires to
-      define the module license as GPL, etc., otherwise the system is
-      shown as <quote>tainted</quote>. 
+      Also, don't forget to define the module description, and license.
+      Especially, the recent modprobe requires to define the module license as
+      GPL, etc., otherwise the system is shown as <quote>tainted</quote>.
 
       <informalexample>
         <programlisting>
 <![CDATA[
   MODULE_DESCRIPTION("My Chip");
   MODULE_LICENSE("GPL");
-  MODULE_SUPPORTED_DEVICE("{{Vendor,My Chip Name}}");
 ]]>
         </programlisting>
       </informalexample>
-- 
1.9.3

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
Please read the FAQ at  http://www.tux.org/lkml/

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

* Re: [PATCH] Doc: MODULE_SUPPORTED_DEVICE is not implemented
  2015-06-19 14:10 [PATCH] Doc: MODULE_SUPPORTED_DEVICE is not implemented Paul Bolle
@ 2015-06-22 16:33 ` Jonathan Corbet
  2015-06-22 16:51   ` Paul Bolle
  0 siblings, 1 reply; 3+ messages in thread
From: Jonathan Corbet @ 2015-06-22 16:33 UTC (permalink / raw)
  To: Paul Bolle; +Cc: linux-doc, linux-kernel

On Fri, 19 Jun 2015 16:10:25 +0200
Paul Bolle <pebolle@tiscali.nl> wrote:

> The MODULE_SUPPORTED_DEVICE macro is documented as
>     Not Yet Implemented
> 
> for over a decade now. It will clearly never be implemented. Remove a
> reference to it from a DocBook template.

The thing is, there's nearly 200 invocations of this macro in the tree.
Taking out the documentation reference just makes those even more
mysterious than they already are.  I'd favor, instead, either (1) making
the document state explicitly that this macro does nothing, or (2) a
tree-wide patch simply removing it entirely.

jon
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
Please read the FAQ at  http://www.tux.org/lkml/

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

* Re: [PATCH] Doc: MODULE_SUPPORTED_DEVICE is not implemented
  2015-06-22 16:33 ` Jonathan Corbet
@ 2015-06-22 16:51   ` Paul Bolle
  0 siblings, 0 replies; 3+ messages in thread
From: Paul Bolle @ 2015-06-22 16:51 UTC (permalink / raw)
  To: Jonathan Corbet; +Cc: linux-doc, linux-kernel

On Mon, 2015-06-22 at 10:33 -0600, Jonathan Corbet wrote:
> Taking out the documentation reference just makes those even more
> mysterious than they already are.  I'd favor, instead, either (1) 
> making the document state explicitly that this macro does nothing,

Perhaps the commit explanation was unclear here: did you spot that this
is just some random template, not the template that is supposed to
document the various module related macros, if such a template even
exists.

>  or (2) a
> tree-wide patch simply removing it entirely.

See http://lkml.kernel.org/r/1434723861.2385.152.camel@x220 . So that's
already being worked on.

Thanks,


Paul Bolle
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
Please read the FAQ at  http://www.tux.org/lkml/

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

end of thread, other threads:[~2015-06-22 16:51 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-06-19 14:10 [PATCH] Doc: MODULE_SUPPORTED_DEVICE is not implemented Paul Bolle
2015-06-22 16:33 ` Jonathan Corbet
2015-06-22 16:51   ` Paul Bolle

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®