* [dwmw2:kexec-debug 14/19] arch/x86/kernel/early_printk.c:148:17: error: 'kexec_debug_8250_port' undeclared
@ 2025-01-09 15:22 kernel test robot
0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2025-01-09 15:22 UTC (permalink / raw)
To: David Woodhouse; +Cc: oe-kbuild-all
tree: git://git.infradead.org/users/dwmw2/linux kexec-debug
head: f68307270bcdae9b9d59997d0712eedb41dcc2b1
commit: 5449b2a6c3c2fbf3a7e564111bf48ec73646b6ca [14/19] x86/kexec: Add 8250 serial port output
config: i386-randconfig-014-20250109 (https://download.01.org/0day-ci/archive/20250109/202501092339.M2pcVsb2-lkp@intel.com/config)
compiler: gcc-12 (Debian 12.2.0-14) 12.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250109/202501092339.M2pcVsb2-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202501092339.M2pcVsb2-lkp@intel.com/
All errors (new ones prefixed by >>):
arch/x86/kernel/early_printk.c: In function 'early_serial_hw_init':
>> arch/x86/kernel/early_printk.c:148:17: error: 'kexec_debug_8250_port' undeclared (first use in this function)
148 | kexec_debug_8250_port = early_serial_base;
| ^~~~~~~~~~~~~~~~~~~~~
arch/x86/kernel/early_printk.c:148:17: note: each undeclared identifier is reported only once for each function it appears in
vim +/kexec_debug_8250_port +148 arch/x86/kernel/early_printk.c
130
131 static __init void early_serial_hw_init(unsigned divisor)
132 {
133 unsigned char c;
134
135 serial_out(early_serial_base, LCR, 0x3); /* 8n1 */
136 serial_out(early_serial_base, IER, 0); /* no interrupt */
137 serial_out(early_serial_base, FCR, 0); /* no fifo */
138 serial_out(early_serial_base, MCR, 0x3); /* DTR + RTS */
139
140 c = serial_in(early_serial_base, LCR);
141 serial_out(early_serial_base, LCR, c | DLAB);
142 serial_out(early_serial_base, DLL, divisor & 0xff);
143 serial_out(early_serial_base, DLH, (divisor >> 8) & 0xff);
144 serial_out(early_serial_base, LCR, c & ~DLAB);
145
146 #ifdef CONFIG_KEXEC_DEBUG
147 if (serial_in == io_serial_in)
> 148 kexec_debug_8250_port = early_serial_base;
149 #endif
150 }
151
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] 2+ messages in thread* [dwmw2:kexec-debug 14/19] arch/x86/kernel/early_printk.c:148:17: error: 'kexec_debug_8250_port' undeclared
@ 2024-12-20 17:01 kernel test robot
0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2024-12-20 17:01 UTC (permalink / raw)
To: David Woodhouse; +Cc: oe-kbuild-all
tree: git://git.infradead.org/users/dwmw2/linux kexec-debug
head: fb9fab65d35df319f262a75718987d66f83a088d
commit: 795b69a26ecdda37c76c71c1dffe41290f7611f8 [14/19] x86/kexec: Add 8250 serial port output
config: i386-allmodconfig (https://download.01.org/0day-ci/archive/20241221/202412210049.ucaK8wXV-lkp@intel.com/config)
compiler: gcc-12 (Debian 12.2.0-14) 12.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241221/202412210049.ucaK8wXV-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202412210049.ucaK8wXV-lkp@intel.com/
All errors (new ones prefixed by >>):
arch/x86/kernel/early_printk.c: In function 'early_serial_hw_init':
>> arch/x86/kernel/early_printk.c:148:17: error: 'kexec_debug_8250_port' undeclared (first use in this function)
148 | kexec_debug_8250_port = early_serial_base;
| ^~~~~~~~~~~~~~~~~~~~~
arch/x86/kernel/early_printk.c:148:17: note: each undeclared identifier is reported only once for each function it appears in
vim +/kexec_debug_8250_port +148 arch/x86/kernel/early_printk.c
130
131 static __init void early_serial_hw_init(unsigned divisor)
132 {
133 unsigned char c;
134
135 serial_out(early_serial_base, LCR, 0x3); /* 8n1 */
136 serial_out(early_serial_base, IER, 0); /* no interrupt */
137 serial_out(early_serial_base, FCR, 0); /* no fifo */
138 serial_out(early_serial_base, MCR, 0x3); /* DTR + RTS */
139
140 c = serial_in(early_serial_base, LCR);
141 serial_out(early_serial_base, LCR, c | DLAB);
142 serial_out(early_serial_base, DLL, divisor & 0xff);
143 serial_out(early_serial_base, DLH, (divisor >> 8) & 0xff);
144 serial_out(early_serial_base, LCR, c & ~DLAB);
145
146 #ifdef CONFIG_KEXEC_DEBUG
147 if (serial_in == io_serial_in)
> 148 kexec_debug_8250_port = early_serial_base;
149 #endif
150 }
151
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2025-01-09 15:23 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-01-09 15:22 [dwmw2:kexec-debug 14/19] arch/x86/kernel/early_printk.c:148:17: error: 'kexec_debug_8250_port' undeclared kernel test robot
-- strict thread matches above, loose matches on Subject: below --
2024-12-20 17:01 kernel test robot
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.