[rt-devel:linux-5.18.y-rt-rebase 17/78] printk.c:undefined reference to `console_emit_next_record'

kernel test robot
2022-04-22T06:01:56Z

tree: https://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-rt-devel.git linux-5.18.y-rt-rebase
head: 03e7725ddbfb0ffd7f3d7b257bfa504c6f795f6b
commit: 72b5c1227b73b2cde1452cfc58717cff442ed473 [17/78] serial: 8250: implement write_atomic
config: openrisc-randconfig-r022-20220421 (https://download.01.org/0day-ci/archive/20220422/202204221359.DTcaIZnW-lkp@intel.com/config)
compiler: or1k-linux-gcc (GCC) 11.2.0
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# https://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-rt-devel.git/commit/?id=72b5c1227b73b2cde1452cfc58717cff442ed473
git remote add rt-devel https://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-rt-devel.git
git fetch --no-tags rt-devel linux-5.18.y-rt-rebase
git checkout 72b5c1227b73b2cde1452cfc58717cff442ed473
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross W=1 O=build_dir ARCH=openrisc SHELL=/bin/bash

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All errors (new ones prefixed by >>):

or1k-linux-ld: kernel/printk/printk.o: in function `console_flush_on_panic':
>> printk.c:(.text+0x1020): undefined reference to `console_emit_next_record'
printk.c:(.text+0x1020): relocation truncated to fit: R_OR1K_INSN_REL_26 against undefined symbol `console_emit_next_record'
`.exit.text' referenced in section `.data' of sound/soc/codecs/tlv320adc3xxx.o: defined in discarded section `.exit.text' of sound/soc/codecs/tlv320adc3xxx.o

--
0-DAY CI Kernel Test Service