linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] KVM: arm64:  drop sysreg init error log
@ 2025-11-11 18:50 Osama Abdelkader
  0 siblings, 0 replies; only message in thread
From: Osama Abdelkader @ 2025-11-11 18:50 UTC (permalink / raw)
  To: maz, oupton, joey.gouly, suzuki.poulose, yuzenghui
  Cc: linux-arm-kernel, kvmarm, linux-kernel, Osama Abdelkader

The failure paths inside kvm_sys_reg_table_init() already emit
excessive error messages. The additional kvm_info() in the caller
is therefore redundant, so remove it.

Signed-off-by: Osama Abdelkader <osama.abdelkader@gmail.com>
---
 arch/arm64/kvm/arm.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/arch/arm64/kvm/arm.c b/arch/arm64/kvm/arm.c
index 870953b4a8a7..af2fe3cb3356 100644
--- a/arch/arm64/kvm/arm.c
+++ b/arch/arm64/kvm/arm.c
@@ -2844,10 +2844,8 @@ static __init int kvm_arm_init(void)
 	}
 
 	err = kvm_sys_reg_table_init();
-	if (err) {
-		kvm_info("Error initializing system register tables");
+	if (err)
 		return err;
-	}
 
 	in_hyp_mode = is_kernel_in_hyp_mode();
 
-- 
2.43.0



^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2025-11-11 18:50 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-11-11 18:50 [PATCH] KVM: arm64: drop sysreg init error log Osama Abdelkader

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).