Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F178351059
D29499.1796556526.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Authored By
Unknown
Size
1 KB
Referenced Files
None
Subscribers
None
D29499.1796556526.diff
View Options
diff --git a/sys/x86/xen/xen_intr.c b/sys/x86/xen/xen_intr.c
--- a/sys/x86/xen/xen_intr.c
+++ b/sys/x86/xen/xen_intr.c
@@ -316,7 +316,7 @@
if (xen_intr_auto_vector_count > NR_EVENT_CHANNELS) {
if (!warned) {
warned = 1;
- printf("xen_intr_alloc: Event channels exhausted.\n");
+ printf("%s: Event channels exhausted.\n", __func__);
}
return (NULL);
}
@@ -406,8 +406,7 @@
*isrcp = NULL;
if (port_handlep == NULL) {
- printf("%s: xen_intr_bind_isrc: Bad event handle\n",
- intr_owner);
+ printf("%s: %s: Bad event handle\n", intr_owner, __func__);
return (EINVAL);
}
@@ -1217,7 +1216,7 @@
struct xenisrc *isrc;
KASSERT(port_handlep != NULL,
- ("NULL xen_intr_handle_t passed to xen_intr_unbind"));
+ ("NULL xen_intr_handle_t passed to %s", __func__));
isrc = xen_intr_isrc_from_handle(*port_handlep);
*port_handlep = NULL;
@@ -1277,11 +1276,9 @@
error = intr_add_handler(name, isrc->xi_vector,filter, handler, arg,
flags|INTR_EXCL, &isrc->xi_cookie, 0);
- if (error != 0) {
- printf(
- "%s: xen_intr_add_handler: intr_add_handler failed: %d\n",
- name, error);
- }
+ if (error != 0)
+ printf("%s: %s: add handler failed: %d\n", name, __func__,
+ error);
return (error);
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Dec 6, 11:28 AM (18 h, 18 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
42254672
Default Alt Text
D29499.1796556526.diff (1 KB)
Attached To
Mode
D29499: xen/intr: use __func__ instead of function names
Attached
Detach File
Event Timeline