Skip to contentSkip to conversation

s390/uv: Fix the comment of the uv_find_secret() function

PATCH In review Thomas Huth 3 participants 3 messages Oct 2, 2025 – Oct 8, 2025

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 s390/uv: Fix the comment of the uv_find_secret() function

From: Thomas Huth <[email protected]>

The uv_get_secret_metadata() function has been removed some months ago, so we should not mention it in the comment anymore.

Fixes a42831f0b74dc ("s390/uv: Remove uv_get_secret_metadata function")
---
 arch/s390/kernel/uv.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
arch/s390/kernel/uv.c +2 -2
index 47f574cd1728a..324cd549807a5 100644
@@ -866,8 +866,8 @@ static int find_secret_in_page(const u8 secret_id[UV_SECRET_ID_LEN],
 	return -ENOENT;
 }
 
-/*
- * Do the actual search for `uv_get_secret_metadata`.
+/**
+ * uv_find_secret() - search secret metadata for a given secret id.
  * @secret_id: search pattern.
  * @list: ephemeral buffer space
  * @secret: output data, containing the secret's metadata.
Signature · 1 line
2.51.0
maintainer Acked-by on v1 1/1
#1 lore raw
Quoted 7 lines · On Thu, 2 Oct 2025 17:54:23 +0200 Thomas Huth <[email protected]> wrote:

From: Thomas Huth <[email protected]>

The uv_get_secret_metadata() function has been removed some months ago, so we should not mention it in the comment anymore.

Fixes a42831f0b74dc ("s390/uv: Remove uv_get_secret_metadata function")
Quoted 19 lines
---
 arch/s390/kernel/uv.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
arch/s390/kernel/uv.c +2 -2
index 47f574cd1728a..324cd549807a5 100644
@@ -866,8 +866,8 @@ static int find_secret_in_page(const u8 secret_id[UV_SECRET_ID_LEN],
 	return -ENOENT;
 }
 
-/*
- * Do the actual search for `uv_get_secret_metadata`.
+/**
+ * uv_find_secret() - search secret metadata for a given secret id.
  * @secret_id: search pattern.
  * @list: ephemeral buffer space
  * @secret: output data, containing the secret's metadata.