Documentation: doc-guide: use '%' constant indicator in Return: examples
[sfrench/cifs-2.6.git] / Documentation / doc-guide / kernel-doc.rst
index 1dcbd7332476f404359633d3db560f37736df3d5..6ad72ac6861bdff5ee8d22d992bb17cd03ef523e 100644 (file)
@@ -151,9 +151,9 @@ named ``Return``.
      line breaks, so if you try to format some text nicely, as in::
 
        * Return:
-       * 0 - OK
-       * -EINVAL - invalid argument
-       * -ENOMEM - out of memory
+       * %0 - OK
+       * %-EINVAL - invalid argument
+       * %-ENOMEM - out of memory
 
      this will all run together and produce::
 
@@ -163,8 +163,8 @@ named ``Return``.
      ReST list, e. g.::
 
       * Return:
-      * *            - OK to runtime suspend the device
-      * * -EBUSY       - Device should not be runtime suspended
+      * * %0           - OK to runtime suspend the device
+      * * %-EBUSY      - Device should not be runtime suspended
 
   #) If the descriptive text you provide has lines that begin with
      some phrase followed by a colon, each of those phrases will be taken