From: kernel test robot <lkp@intel.com>
To: Jiri Slaby <jslaby@suse.cz>
Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org,
linux-kernel@vger.kernel.org
Subject: [jirislaby:devel 28/30] drivers/tty/mxser.c:1745:30: warning: unused variable 'mxser_ops'
Date: Mon, 17 Jan 2022 18:30:40 +0800 [thread overview]
Message-ID: <202201171837.2mMV7e7n-lkp@intel.com> (raw)
tree: https://git.kernel.org/pub/scm/linux/kernel/git/jirislaby/linux.git devel
head: f297a9ec220495933237083fbf2333eca65eb9b4
commit: c2f304d1e4750e106a884544dfd7539b4853edf5 [28/30] mxser: switch to uart_driver
config: arm-randconfig-r003-20220116 (https://download.01.org/0day-ci/archive/20220117/202201171837.2mMV7e7n-lkp@intel.com/config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project 5f782d25a742302d25ef3c8b84b54f7483c2deb9)
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
# install arm cross compiling tool for clang build
# apt-get install binutils-arm-linux-gnueabi
# https://git.kernel.org/pub/scm/linux/kernel/git/jirislaby/linux.git/commit/?id=c2f304d1e4750e106a884544dfd7539b4853edf5
git remote add jirislaby https://git.kernel.org/pub/scm/linux/kernel/git/jirislaby/linux.git
git fetch --no-tags jirislaby devel
git checkout c2f304d1e4750e106a884544dfd7539b4853edf5
# save the config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=arm SHELL=/bin/bash drivers/tty/
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All warnings (new ones prefixed by >>):
>> drivers/tty/mxser.c:1745:30: warning: unused variable 'mxser_ops' [-Wunused-const-variable]
static const struct uart_ops mxser_ops = {
^
1 warning generated.
vim +/mxser_ops +1745 drivers/tty/mxser.c
1744
> 1745 static const struct uart_ops mxser_ops = {
1746 .tx_empty = mxser_tx_empty,
1747 //.get_mctrl = mxser_get_mctrl,
1748 //.set_mctrl = mxser_set_mctrl,
1749 .stop_tx = mxser_stop_tx,
1750 .start_tx = mxser_start_tx,
1751 .stop_rx = mxser_stop_rx,
1752 .break_ctl = mxser_break_ctl,
1753 .startup = mxser_startup,
1754 .shutdown = mxser_shutdown,
1755 .set_termios = mxser_set_termios,
1756 //.pm = mxser_pm,
1757 //.type = mxser_type,
1758 //.release_port = mxser_release_port,
1759 //.request_port = mxser_request_port,
1760 //.config_port = mxser_config_port,
1761 //.verify_port = mxser_verify_port,
1762 };
1763
1764
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
reply other threads:[~2022-01-17 10:31 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=202201171837.2mMV7e7n-lkp@intel.com \
--to=lkp@intel.com \
--cc=jslaby@suse.cz \
--cc=kbuild-all@lists.01.org \
--cc=linux-kernel@vger.kernel.org \
--cc=llvm@lists.linux.dev \
/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 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).