Blame SOURCES/0001-man-Clean-up-libmandoc-parser-warnings.patch

979ff2
From d696645b147eaac5d5c90ff3dca672e52d89d7f0 Mon Sep 17 00:00:00 2001
979ff2
From: Jerry Snitselaar <jsnitsel@redhat.com>
979ff2
Date: Mon, 27 Apr 2020 12:16:47 -0700
979ff2
Subject: [PATCH] man: Clean up libmandoc parser warnings
979ff2
979ff2
- Fix typo in Tss2_Tcti_Device_Init.3.in.
979ff2
- Remove .RE macros that had no preceding .RS macro in Tss2_TctiLdr_Initialize.3.in.
979ff2
  Replace .RE .sp with .LP.
979ff2
- ' is a control character, format function names to be similar to
979ff2
  other manpages, and use \(oq and \(cq for quotes instead in tss2-tctildr.7.in.
979ff2
979ff2
Signed-off-by: Jerry Snitselaar <jsnitsel@redhat.com>
979ff2
---
979ff2
 man/Tss2_TctiLdr_Initialize.3.in |  6 ++----
979ff2
 man/Tss2_Tcti_Device_Init.3.in   |  2 +-
979ff2
 man/tss2-tctildr.7.in            | 12 ++++++++----
979ff2
 3 files changed, 11 insertions(+), 9 deletions(-)
979ff2
979ff2
diff --git a/man/Tss2_TctiLdr_Initialize.3.in b/man/Tss2_TctiLdr_Initialize.3.in
979ff2
index 8e5fffaa247b..eb5ea1f8315f 100644
979ff2
--- a/man/Tss2_TctiLdr_Initialize.3.in
979ff2
+++ b/man/Tss2_TctiLdr_Initialize.3.in
979ff2
@@ -65,8 +65,7 @@ libtss2-tcti-tabrmd.so.0
979ff2
 libtss2-tcti-device.so.0
979ff2
 .IP \[bu]
979ff2
 libtss2-tcti-mssim.so.0
979ff2
-.RE
979ff2
-.sp
979ff2
+.LP
979ff2
 When the
979ff2
 .I name
979ff2
 string is neither NULL nor the empty string the implementation will attempt
979ff2
@@ -81,8 +80,7 @@ name with the following permutations:
979ff2
 libtss2-tcti-<name>.so.0
979ff2
 .IP \[bu]
979ff2
 libtss2-tcti-<name>.so
979ff2
-.RE
979ff2
-.sp
979ff2
+.LP
979ff2
 The
979ff2
 .I config
979ff2
 string is not interpreted by the TctiLdr init functions and is passed
979ff2
diff --git a/man/Tss2_Tcti_Device_Init.3.in b/man/Tss2_Tcti_Device_Init.3.in
979ff2
index 3cd2eed7fb0b..122ede1536bc 100644
979ff2
--- a/man/Tss2_Tcti_Device_Init.3.in
979ff2
+++ b/man/Tss2_Tcti_Device_Init.3.in
979ff2
@@ -86,7 +86,7 @@ is returned if any parameters contain unexpected values.
979ff2
 is returned if any parameters are NULL when they should not be.
979ff2
 .B TSS2_TCTI_RC_BAD_CONTEXT
979ff2
 is returned if the size of the provided
979ff2
-.i tctiContext
979ff2
+.I tctiContext
979ff2
 is insufficient.
979ff2
 .SH EXAMPLE
979ff2
 TCTI initialization fragment:
979ff2
diff --git a/man/tss2-tctildr.7.in b/man/tss2-tctildr.7.in
979ff2
index a907aec0cd64..7432316ec6bb 100644
979ff2
--- a/man/tss2-tctildr.7.in
979ff2
+++ b/man/tss2-tctildr.7.in
979ff2
@@ -10,13 +10,17 @@ instances.
979ff2
 .SH DESCRIPTION
979ff2
 The TCTI dynamic loading and initialization protocol requires a lot of
979ff2
 boilerplate code. To reduce duplication the tss2-tctildr library adds the
979ff2
-'Tss2_TctiLdr_Initialize', 'Tss2_TctiLdr_Initialize_Ex' and
979ff2
-'Tss2_TctiLdr_Finalize' functions to abstract away the machinery required
979ff2
+.BR Tss2_TctiLdr_Initialize (),
979ff2
+.BR Tss2_TctiLdr_Initialize_Ex (),
979ff2
+and
979ff2
+.BR Tss2_TctiLdr_Finalize ()
979ff2
+functions to abstract away the machinery required
979ff2
 to load, initialize, and finalize a TCTI context.
979ff2
 
979ff2
 To assist in the discovery of TCTIs this library provides the
979ff2
-'Tss2_TctiLdr_GetInfo' function. This function, paired with a 'free'
979ff2
-function to free the memory allocated by 'GetInfo', provides a simple
979ff2
+.BR Tss2_TctiLdr_GetInfo ()
979ff2
+function. This function, paired with a \(oqfree\(cq
979ff2
+function to free the memory allocated by \(oqGetInfo\(cq, provides a simple
979ff2
 query interface for discovery of the available and default TCTIs
979ff2
 available to the tss2-tctildr implementation
979ff2
 
979ff2
-- 
979ff2
2.24.0
979ff2