[for-next][PATCH] tracing/histogram: Fix documentation inline emphasis warning

From: Steven Rostedt
Date: Fri Oct 29 2021 - 17:32:51 EST



git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace.git
for-next

Head SHA1: 93d76e4a0e0112b320c4f0e2a3930ad634628c58


Kalesh Singh (1):
tracing/histogram: Fix documentation inline emphasis warning

----
Documentation/trace/histogram.rst | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---------------------------
commit 93d76e4a0e0112b320c4f0e2a3930ad634628c58
Author: Kalesh Singh <kaleshsingh@xxxxxxxxxx>
Date: Thu Oct 28 10:05:48 2021 -0700

tracing/histogram: Fix documentation inline emphasis warning

This fixes the warning:

Documentation/trace/histogram.rst:1766: WARNING: Inline emphasis
start-string without end-string

The issue was caused by an unescaped '*' character.

Link: https://lore.kernel.org/all/20211028170548.2597449-1-kaleshsingh@xxxxxxxxxx/T/#m77da47432f5cc6521d4294ffdb9621949cc35d04
Link: https://lkml.kernel.org/r/20211028170548.2597449-1-kaleshsingh@xxxxxxxxxx

Fixes: 2d2f6d4b8ce7 ("tracing/histogram: Document expression arithmetic and constants")
Reported-by: Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx>
Signed-off-by: Kalesh Singh <kaleshsingh@xxxxxxxxxx>
Signed-off-by: Steven Rostedt (VMware) <rostedt@xxxxxxxxxxx>

diff --git a/Documentation/trace/histogram.rst b/Documentation/trace/histogram.rst
index e12699abaee8..66ec972dfb78 100644
--- a/Documentation/trace/histogram.rst
+++ b/Documentation/trace/histogram.rst
@@ -1764,7 +1764,7 @@ using the same key and variable from yet another event::
# echo 'hist:key=pid:wakeupswitch_lat=$wakeup_lat+$switchtime_lat ...' >> event3/trigger

Expressions support the use of addition, subtraction, multiplication and
-division operators (+-*/).
+division operators (+-\*/).

Note that division by zero always returns -1.