Skip to content

Commit 7478f63

Browse files
committed
don't log transient/retry-able failures
1 parent 0871fdb commit 7478f63

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

arch/x86/hyperv/ivm.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -314,9 +314,9 @@ enum es_result hv_set_savic_backing_page(u64 gfn)
314314

315315
do {
316316
ret = hv_do_hypercall(control, input, NULL);
317-
if (!hv_result_success(ret))
318-
pr_err("Failed to set secure AVIC backing page %llx.\n", ret);
319317
} while (ret == HV_STATUS_TIME_OUT && retry--);
318+
if (!hv_result_success(ret))
319+
pr_err("Failed to set secure AVIC backing page %llx.\n", ret);
320320

321321
local_irq_restore(flags);
322322

0 commit comments

Comments
 (0)