* [xilinx-xlnx:xlnx_rebase_v5.15 1019/1080] drivers/staging/uartlite-rs485/uartlite-rs485.c:32:33: error: 'CONFIG_SERIAL_UARTLITE_NR_UARTS' undeclared here (not in a function); did you mean 'CONFIG_SERIAL_UARTLITE_RS485'?
@ 2022-04-06 17:10 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2022-04-06 17:10 UTC (permalink / raw)
To: Pallav Joshi; +Cc: kbuild-all, linux-arm-kernel, Michal Simek
tree: https://github.com/Xilinx/linux-xlnx xlnx_rebase_v5.15
head: 6474115d882fd9e82731ac2473875dc3e8ac9acc
commit: 1d7b60e56a55543882cc88d7f19a1bfb13fe9890 [1019/1080] staging: uartlite-rs485: Initial commit to add drv
config: xtensa-randconfig-r033-20220406 (https://download.01.org/0day-ci/archive/20220407/202204070109.FBsfIRVq-lkp@intel.com/config)
compiler: xtensa-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://github.com/Xilinx/linux-xlnx/commit/1d7b60e56a55543882cc88d7f19a1bfb13fe9890
git remote add xilinx-xlnx https://github.com/Xilinx/linux-xlnx
git fetch --no-tags xilinx-xlnx xlnx_rebase_v5.15
git checkout 1d7b60e56a55543882cc88d7f19a1bfb13fe9890
# save the config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=xtensa SHELL=/bin/bash drivers/staging/uartlite-rs485/
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 >>):
>> drivers/staging/uartlite-rs485/uartlite-rs485.c:32:33: error: 'CONFIG_SERIAL_UARTLITE_NR_UARTS' undeclared here (not in a function); did you mean 'CONFIG_SERIAL_UARTLITE_RS485'?
32 | #define ULITE_NR_UARTS CONFIG_SERIAL_UARTLITE_NR_UARTS
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/staging/uartlite-rs485/uartlite-rs485.c:116:37: note: in expansion of macro 'ULITE_NR_UARTS'
116 | static struct uart_port ulite_ports[ULITE_NR_UARTS];
| ^~~~~~~~~~~~~~
drivers/staging/uartlite-rs485/uartlite-rs485.c:116:25: warning: 'ulite_ports' defined but not used [-Wunused-variable]
116 | static struct uart_port ulite_ports[ULITE_NR_UARTS];
| ^~~~~~~~~~~
vim +32 drivers/staging/uartlite-rs485/uartlite-rs485.c
27
28 #define ULITE_NAME "ttyULR"
29 #define ULITE_DRV_NAME "uartlite_rs485"
30 #define ULITE_MAJOR 205
31 #define ULITE_MINOR 187
> 32 #define ULITE_NR_UARTS CONFIG_SERIAL_UARTLITE_NR_UARTS
33
--
0-DAY CI Kernel Test Service
https://01.org/lkp
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-04-06 17:12 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-04-06 17:10 [xilinx-xlnx:xlnx_rebase_v5.15 1019/1080] drivers/staging/uartlite-rs485/uartlite-rs485.c:32:33: error: 'CONFIG_SERIAL_UARTLITE_NR_UARTS' undeclared here (not in a function); did you mean 'CONFIG_SERIAL_UARTLITE_RS485'? kernel test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).