Message ID | 20250103-vuart-ns8250-v3-v1-14-c5d36b31d66c@ford.com (mailing list archive) |
---|---|
State | New |
Headers | show |
Series | x86: introduce NS16550-compatible UART emulator | expand |
On 04.01.2025 02:58, Denis Mukhin via B4 Relay wrote: > --- a/xen/drivers/char/console.c > +++ b/xen/drivers/char/console.c > @@ -518,8 +518,8 @@ int console_set_owner(domid_t domid) > console_owner = domid; > > if ( switch_code ) > - printk(" (type 'CTRL-%c' three times to switch input)", > - opt_conswitch[0]); > + printk(" (type 'CTRL-%c%c%c' to switch input)", > + opt_conswitch[0], opt_conswitch[0], opt_conswitch[0]); I view this as ambiguous: It could mean Ctrl-<?> Ctrl-<?> Ctrl-<?> or Ctrl-<?> <?> <?>. Plus again - how's this related to the goal of the series? Jan
diff --git a/xen/drivers/char/console.c b/xen/drivers/char/console.c index f5ff3ebd830d631fa5d8fb5db1cf68adafcd02b4..1308236403df8a0f87aeb7e2c00a036c2d8433a7 100644 --- a/xen/drivers/char/console.c +++ b/xen/drivers/char/console.c @@ -518,8 +518,8 @@ int console_set_owner(domid_t domid) console_owner = domid; if ( switch_code ) - printk(" (type 'CTRL-%c' three times to switch input)", - opt_conswitch[0]); + printk(" (type 'CTRL-%c%c%c' to switch input)", + opt_conswitch[0], opt_conswitch[0], opt_conswitch[0]); printk("\n"); return 0;