Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/xen/x86 aprint_debug(): if a hypercall fail, print ...
details: https://anonhg.NetBSD.org/src/rev/29d18ac438a8
branches: trunk
changeset: 366419:29d18ac438a8
user: bouyer <bouyer%NetBSD.org@localhost>
date: Thu May 26 11:06:14 2022 +0000
description:
aprint_debug(): if a hypercall fail, print the return code.
diffstat:
sys/arch/xen/x86/pintr.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (30 lines):
diff -r 859212045baf -r 29d18ac438a8 sys/arch/xen/x86/pintr.c
--- a/sys/arch/xen/x86/pintr.c Thu May 26 10:48:47 2022 +0000
+++ b/sys/arch/xen/x86/pintr.c Thu May 26 11:06:14 2022 +0000
@@ -103,7 +103,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pintr.c,v 1.23 2022/05/24 15:51:10 bouyer Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pintr.c,v 1.24 2022/05/26 11:06:14 bouyer Exp $");
#include "opt_multiprocessor.h"
#include "opt_xen.h"
@@ -208,7 +208,7 @@
}
aprint_debug("\n");
} else {
- aprint_debug(" fail\n");
+ aprint_debug(" fail %d\n", ret);
}
return ret;
}
@@ -246,7 +246,7 @@
aprint_debug(" map %d", i);
ret = HYPERVISOR_physdev_op(PHYSDEVOP_map_pirq, &map_irq);
if (ret) {
- aprint_debug(" fail\n");
+ aprint_debug(" fail %d\n", ret);
goto fail;
}
msi_i->mp_xen_pirq[i] = map_irq.pirq;
Home |
Main Index |
Thread Index |
Old Index