aboutsummaryrefslogtreecommitdiff
path: root/arch/s390/kernel/uv.c
diff options
context:
space:
mode:
authorDavid Hildenbrand <[email protected]>2024-05-08 20:29:51 +0200
committerAlexander Gordeev <[email protected]>2024-06-05 17:17:25 +0200
commite58623fbc178d6c074074c0107103c5d3c8041b1 (patch)
treee3947a32a77fb60fce27114775e9aea3a7d91f8b /arch/s390/kernel/uv.c
parent80cf817949264eff32642aa90da00f03e84e3c0f (diff)
s390/uv: Make uv_convert_from_secure() a static function
It's not used outside of uv.c, so let's make it a static function. Reviewed-by: Claudio Imbrenda <[email protected]> Signed-off-by: David Hildenbrand <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Heiko Carstens <[email protected]> Signed-off-by: Alexander Gordeev <[email protected]>
Diffstat (limited to 'arch/s390/kernel/uv.c')
-rw-r--r--arch/s390/kernel/uv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/s390/kernel/uv.c b/arch/s390/kernel/uv.c
index ecfc08902215..3d3250b406a6 100644
--- a/arch/s390/kernel/uv.c
+++ b/arch/s390/kernel/uv.c
@@ -156,7 +156,7 @@ int uv_destroy_owned_page(unsigned long paddr)
*
* @paddr: Absolute host address of page to be exported
*/
-int uv_convert_from_secure(unsigned long paddr)
+static int uv_convert_from_secure(unsigned long paddr)
{
struct uv_cb_cfs uvcb = {
.header.cmd = UVC_CMD_CONV_FROM_SEC_STOR,