ns16550: #ifdef-ary
cover ns16550: #ifdef-ary
1: "com<N>=" command line options are x86-specific 2: drop stray "#ifdef CONFIG_HAS_PCI"
Jan
PATCH 1/2 ns16550: "com<N>=" command line options are x86-specific
Pure code motion (plus the addition of "#ifdef CONFIG_X86); no functional change intended.
Reported-by Julien Grall <[email protected]>
Signed-off-by Jan Beulich <[email protected]>
docs/misc/xen-command-line.pandoc +2 -2
@@ -318,8 +318,8 @@ Interrupts. Specifying zero disables CM Flag to indicate whether to probe for a CMOS Real Time Clock irrespective of ACPI indicating none to be there. -### com1 -### com2 +### com1 (x86) +### com2 (x86) > `= <baud>[/<base-baud>][,[DPS][,[<io-base>|pci|amt][,[<irq>|msi][,[<port-bdf>][,[<bridge-bdf>]]]]]]` Both option `com1` and `com2` follow the same format.
xen/drivers/char/ns16550.c +73 -69
178 lines not on this page · raw message
PATCH 2/2 ns16550: drop stray "#ifdef CONFIG_HAS_PCI"
In reply to Jan BeulichThere's no point wrapping the function invocation when
- the function body is already suitably wrapped,
- the function itself is unconditionally available.
Reported-by Julien Grall <[email protected]>
Signed-off-by Jan Beulich <[email protected]>
xen/drivers/char/ns16550.c +0 -2
@@ -968,9 +968,7 @@ static int __init check_existence(structreturn 1 ;/* Everything is MMIO */ #endif -#ifdef CONFIG_HAS_PCI pci_serial_early_init (uart); -#endif /* * Do a simple existence test first; if we fail this,
Quoted 3 lines · Jan Beulich
1: "com<N>=" command line options are x86-specific 2: drop stray "#ifdef
CONFIG_HAS_PCI"
Acked-by Wei Liu <[email protected]>