Messages in this thread | | | Date | Thu, 18 Aug 2022 19:36:39 -0700 | Subject | Re: drivers/tty/serial/sunplus-uart.c:671: undefined reference to `uart_remove_one_port' | From | Randy Dunlap <> |
| |
On 8/16/22 01:59, kernel test robot wrote: > tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master > head: 568035b01cfb107af8d2e4bd2fb9aea22cf5b868 > commit: 0aa94eea8d955c82014e5368a843da93f1dc58f8 ARM: sunplus: Add initial support for Sunplus SP7021 SoC > date: 6 weeks ago > config: arm-randconfig-r012-20220815 (https://download.01.org/0day-ci/archive/20220816/202208161624.f6SCFLBq-lkp@intel.com/config) > compiler: arm-linux-gnueabi-gcc (GCC) 12.1.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/torvalds/linux.git/commit/?id=0aa94eea8d955c82014e5368a843da93f1dc58f8 > git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git > git fetch --no-tags linus master > git checkout 0aa94eea8d955c82014e5368a843da93f1dc58f8 > # save the config file > mkdir build_dir && cp config build_dir/.config > COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=arm SHELL=/bin/bash > > If you fix the issue, kindly add following tag where applicable > Reported-by: kernel test robot <lkp@intel.com>
Fix is here: https://lore.kernel.org/lkml/20220806025705.7759-1-rdunlap@infradead.org/
> > All errors (new ones prefixed by >>):
[snip]
> > Kconfig warnings: (for reference only) > WARNING: unmet direct dependencies detected for SERIAL_SUNPLUS > Depends on [n]: TTY [=n] && HAS_IOMEM [=y] && (ARCH_SUNPLUS [=y] || COMPILE_TEST [=y]) > Selected by [y]: > - SOC_SP7021 [=y] && ARCH_SUNPLUS [=y] > WARNING: unmet direct dependencies detected for SERIAL_SUNPLUS_CONSOLE > Depends on [n]: TTY [=n] && HAS_IOMEM [=y] && SERIAL_SUNPLUS [=y] > Selected by [y]: > - SOC_SP7021 [=y] && ARCH_SUNPLUS [=y]
No, this is the primary problem. The build error happen due to this.
-- ~Randy
| |