chantra / rpms / tpm2-tss

Forked from rpms/tpm2-tss 2 years ago
Clone

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

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