[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20200718165107.625847-2-dwlsalmeida@gmail.com>
Date: Sat, 18 Jul 2020 13:50:56 -0300
From: "Daniel W. S. Almeida" <dwlsalmeida@...il.com>
To: corbet@....net
Cc: "Daniel W . S . Almeida" <dwlsalmeida@...il.com>,
linux-doc@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: [PATCH] docs: watch_queue.rst: fix malformed inline literal
From: Daniel W. S. Almeida <dwlsalmeida@...il.com>
Fix the following warnings:
watch_queue.rst:107: WARNING: Inline literal start-string
without end-string.
watch_queue.rst:107: WARNING: Inline emphasis start-string
without end-string
watch_queue.rst:184: WARNING: Inline literal start-string
without end-string.
watch_queue.rst:184: WARNING: Inline emphasis start-string
without end-string
Multiline inline literals are not supported.
Signed-off-by: Daniel W. S. Almeida <dwlsalmeida@...il.com>
---
Documentation/watch_queue.rst | 9 ++++-----
1 file changed, 4 insertions(+), 5 deletions(-)
diff --git a/Documentation/watch_queue.rst b/Documentation/watch_queue.rst
index 81d9d322b1c8b..d98af4f11804e 100644
--- a/Documentation/watch_queue.rst
+++ b/Documentation/watch_queue.rst
@@ -106,8 +106,7 @@ watch that specific key).
To manage a watch list, the following functions are provided:
- * ``void init_watch_list(struct watch_list *wlist,
- void (*release_watch)(struct watch *wlist));``
+ * ``void init_watch_list(struct watch_list *wlist, void (*release_watch)(struct watch *wlist));``
Initialise a watch list. If ``release_watch`` is not NULL, then this
indicates a function that should be called when the watch_list object is
@@ -182,9 +181,9 @@ The following functions are provided to manage watches:
driver-settable fields in the watch struct must have been set before this
is called.
- * ``int remove_watch_from_object(struct watch_list *wlist,
- struct watch_queue *wqueue,
- u64 id, false);``
+ * ``int remove_watch_from_object(struct watch_list *wlist,``
+ ``struct watch_queue *wqueue,``
+ ``u64 id, false);``
Remove a watch from a watch list, where the watch must match the specified
watch queue (``wqueue``) and object identifier (``id``). A notification
--
2.27.0
Powered by blists - more mailing lists