Thread (11 messages) 11 messages, 3 authors, 2019-11-22

Re: [PATCH 4/5] docs: networking: nfc: fix code block syntax

From: Robert Schwebel <hidden>
Date: 2019-11-22 07:01:06
Also in: linux-doc

On Thu, Nov 21, 2019 at 10:09:19AM -0700, Jonathan Corbet wrote:
quoted
+.. code-block:: none
+
+        struct sockaddr_nfc {
+               sa_family_t sa_family;
+               __u32 dev_idx;
+               __u32 target_idx;
+               __u32 nfc_protocol;
+        };
Rather than cluttering the text with ".. code-block::", you can just use
the literal-block shortcut:

	targets. All NFC sockets use AF_NFC::

	    struct sockaddr_nfc {
Thanks, will do in v2.

rsc
-- 
Pengutronix e.K.                           | Dipl.-Ing. Robert Schwebel  |
Steuerwalder Str. 21                       | https://www.pengutronix.de/ |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help