From: kernel test robot <lkp@intel.com>
To: Pallav Joshi <pallav.joshi@xilinx.com>
Cc: kbuild-all@lists.01.org, linux-arm-kernel@lists.infradead.org,
Michal Simek <monstr@monstr.eu>
Subject: [xilinx-xlnx:master 419/530] 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'?
Date: Sat, 7 May 2022 04:48:23 +0800 [thread overview]
Message-ID: <202205070455.1eFm56SL-lkp@intel.com> (raw)
tree: https://github.com/Xilinx/linux-xlnx master
head: d7d99e0d1629b249f6b118eb6a8e492e4334b1ea
commit: 9cebd33ae5666e6ff30f045a1179bc8ad64973d0 [419/530] staging: uartlite-rs485: Initial commit to add drv
config: nds32-randconfig-r023-20220506 (https://download.01.org/0day-ci/archive/20220507/202205070455.1eFm56SL-lkp@intel.com/config)
compiler: nds32le-linux-gcc (GCC) 11.3.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/9cebd33ae5666e6ff30f045a1179bc8ad64973d0
git remote add xilinx-xlnx https://github.com/Xilinx/linux-xlnx
git fetch --no-tags xilinx-xlnx master
git checkout 9cebd33ae5666e6ff30f045a1179bc8ad64973d0
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.3.0 make.cross W=1 O=build_dir ARCH=nds32 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 >>):
>> 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
reply other threads:[~2022-05-06 20:50 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202205070455.1eFm56SL-lkp@intel.com \
--to=lkp@intel.com \
--cc=kbuild-all@lists.01.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=monstr@monstr.eu \
--cc=pallav.joshi@xilinx.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.