mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 18:50:05 +01:00
ehci-dbgp: fix selecting n-th ehci controller
The ehci<n> number was parsed but ignored. Fixes:322ecbe4ac("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:d6d0cb659fmaster date: 2022-06-16 14:23:37 +0100
This commit is contained in:
1 parent
460b08d6c6
commit
5cb8142076
1 file changed
+1
-1
@@ -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 )
|
||||
|
||||