diff options
author | Florian Schmaus <flow@gentoo.org> | 2022-07-12 21:32:32 +0200 |
---|---|---|
committer | Florian Schmaus <flow@gentoo.org> | 2022-07-12 21:32:32 +0200 |
commit | 203664c0242012d9e1b0c78d4f4909186d243787 (patch) | |
tree | 87c056e8b4e59366ba731fe7b16579e8d963024c /0034-ehci-dbgp-fix-selecting-n-th-ehci-controller.patch | |
parent | Xen 4.16.2-pre-patchset-0 (diff) | |
download | xen-upstream-patches-203664c0242012d9e1b0c78d4f4909186d243787.tar.gz xen-upstream-patches-203664c0242012d9e1b0c78d4f4909186d243787.tar.bz2 xen-upstream-patches-203664c0242012d9e1b0c78d4f4909186d243787.zip |
Xen 4.16.2-pre-patchset-14.16.2-pre-patchset-1
Signed-off-by: Florian Schmaus <flow@gentoo.org>
Diffstat (limited to '0034-ehci-dbgp-fix-selecting-n-th-ehci-controller.patch')
-rw-r--r-- | 0034-ehci-dbgp-fix-selecting-n-th-ehci-controller.patch | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/0034-ehci-dbgp-fix-selecting-n-th-ehci-controller.patch b/0034-ehci-dbgp-fix-selecting-n-th-ehci-controller.patch new file mode 100644 index 0000000..ac71ab8 --- /dev/null +++ b/0034-ehci-dbgp-fix-selecting-n-th-ehci-controller.patch @@ -0,0 +1,36 @@ +From 5cb8142076ce1ce53eafd7e00acb4d0eac4e7784 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Marek=20Marczykowski-G=C3=B3recki?= + <marmarek@invisiblethingslab.com> +Date: Tue, 12 Jul 2022 11:11:35 +0200 +Subject: [PATCH 34/51] ehci-dbgp: fix selecting n-th ehci controller +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +The ehci<n> number was parsed but ignored. + +Fixes: 322ecbe4ac85 ("console: add EHCI debug port based serial console") +Signed-off-by: Marek Marczykowski-Górecki <marmarek@invisiblethingslab.com> +Reviewed-by: Jan Beulich <jbeulich@suse.com> +master commit: d6d0cb659fda64430d4649f8680c5cead32da8fd +master date: 2022-06-16 14:23:37 +0100 +--- + xen/drivers/char/ehci-dbgp.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/xen/drivers/char/ehci-dbgp.c b/xen/drivers/char/ehci-dbgp.c +index c893d246defa..66b4811af24a 100644 +--- a/xen/drivers/char/ehci-dbgp.c ++++ b/xen/drivers/char/ehci-dbgp.c +@@ -1478,7 +1478,7 @@ void __init ehci_dbgp_init(void) + unsigned int num = 0; + + if ( opt_dbgp[4] ) +- simple_strtoul(opt_dbgp + 4, &e, 10); ++ num = simple_strtoul(opt_dbgp + 4, &e, 10); + + dbgp->cap = find_dbgp(dbgp, num); + if ( !dbgp->cap ) +-- +2.35.1 + |