projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5872080
)
xenbus: fix error exit in xenbus_init()
author
Juergen Gross
<jgross@suse.com>
Tue, 22 Aug 2023 09:11:38 +0000
(11:11 +0200)
committer
Juergen Gross
<jgross@suse.com>
Mon, 16 Oct 2023 13:18:33 +0000
(15:18 +0200)
In case an error occurs in xenbus_init(), xen_store_domain_type should
be set to XS_UNKNOWN.
Fix one instance where this action is missing.
Fixes: 5b3353949e89 ("xen: add support for initializing xenstore later as HVM domain")
Reported-by: kernel test robot <lkp@intel.com>
Reported-by: Dan Carpenter <error27@gmail.com>
Link:
https://lore.kernel.org/r/202304200845.w7m4kXZr-lkp@intel.com/
Signed-off-by: Juergen Gross <jgross@suse.com>
Reviewed-by: Oleksandr Tyshchenko <oleksandr_tyshchenko@epam.com>
Link:
https://lore.kernel.org/r/20230822091138.4765-1-jgross@suse.com
Signed-off-by: Juergen Gross <jgross@suse.com>
drivers/xen/xenbus/xenbus_probe.c
patch
|
blob
|
history
diff --git
a/drivers/xen/xenbus/xenbus_probe.c
b/drivers/xen/xenbus/xenbus_probe.c
index 639bf628389ba458a5a372b47818afcebc6f3b01..3205e5d724c8cf849f6476f598ace14350d3464c 100644
(file)
--- a/
drivers/xen/xenbus/xenbus_probe.c
+++ b/
drivers/xen/xenbus/xenbus_probe.c
@@
-1025,7
+1025,7
@@
static int __init xenbus_init(void)
if (err < 0) {
pr_err("xenstore_late_init couldn't bind irq err=%d\n",
err);
-
return er
r;
+
goto out_erro
r;
}
xs_init_irq = err;