chantra / rpms / tpm2-tss

Forked from rpms/tpm2-tss 2 years ago
Clone

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

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