cpacfinfo and pv: Fix comment style

Reviewed-by: Finn Callies <fcallies@linux.ibm.com>
Signed-off-by: Marc Hartmayer <mhartmay@linux.ibm.com>
Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com>
This commit is contained in:
Marc Hartmayer
2025-10-28 15:29:18 +01:00
committed by Jan Höppner
parent f74b8d7d6f
commit b21a824fda
3 changed files with 13 additions and 13 deletions

View File

@@ -108,16 +108,16 @@ fn out_instructions(args: &Cli, instructions: &Vec<Instruction>) {
}
fn main() -> anyhowRes<()> {
/* ---- PARSE COMMAND LINE ARGUMENTS ---- */
// ---- PARSE COMMAND LINE ARGUMENTS ----
let args: Cli = Cli::parse();
/* ---- PRINT VERSION STRING ---- */
// ---- PRINT VERSION STRING ----
if args.version {
print_version!("2024");
return Ok(());
}
/* ---- SET CONSTANTS ---- */
// ---- SET CONSTANTS ----
let mut instructions = Vec::new();
init_instructions(&mut instructions);
@@ -133,7 +133,7 @@ fn main() -> anyhowRes<()> {
update_msa_function_count(&args, &mut levels[idx_of_last_element], &instructions);
}
/* ---- GET INFORMATION ---- */
// ---- GET INFORMATION ----
// get stfle bits
let stfle_bits = Stfle::new()?;
@@ -245,7 +245,7 @@ fn main() -> anyhowRes<()> {
}
}
/* ---- OUTPUT ---- */
// ---- OUTPUT ----
match args.msa {
true => out_msa(&args, &levels, &instructions),
false => out_instructions(&args, &instructions),

View File

@@ -104,11 +104,11 @@ impl<'d> InnerPem<'d> {
/// println!("PEM {pem}");
/// ```
/// ```PEM
///-----BEGIN <name>-----
///<header>
/// -----BEGIN <name>-----
/// <header>
///
///<Base64 formatted binary data>
///-----END <name>-----
/// <Base64 formatted binary data>
/// -----END <name>-----
#[derive(Debug)]
pub struct Pem {

View File

@@ -18,11 +18,11 @@ use zerocopy::{FromBytes, U16};
///
/// Will convert into PEM as:
/// ```PEM
///-----BEGIN IBM PROTECTED KEY-----
///kind: <name>
/// -----BEGIN IBM PROTECTED KEY-----
/// kind: <name>
///
///<protected key in base64>
///-----END IBM PROTECTED KEY-----
/// <protected key in base64>
/// -----END IBM PROTECTED KEY-----
/// ```
#[derive(Debug, PartialEq, Eq)]
pub struct IbmProtectedKey {