* samples/kfifo/bytestream-example.c:145:30: warning: unused variable 'fifo_proc_ops'
@ 2021-08-19 21:40 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-08-19 21:40 UTC (permalink / raw)
To: Alexey Dobriyan
Cc: clang-built-linux, kbuild-all, linux-kernel, Andrew Morton,
Linux Memory Management List
[-- Attachment #1: Type: text/plain, Size: 2247 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: d6d09a6942050f21b065a134169002b4d6b701ef
commit: 97a32539b9568bb653683349e5a76d02ff3c3e2c proc: convert everything to "struct proc_ops"
date: 1 year, 7 months ago
config: x86_64-buildonly-randconfig-r001-20210819 (attached as .config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project d2b574a4dea5b718e4386bf2e26af0126e5978ce)
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=97a32539b9568bb653683349e5a76d02ff3c3e2c
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout 97a32539b9568bb653683349e5a76d02ff3c3e2c
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=x86_64
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 >>):
>> samples/kfifo/bytestream-example.c:145:30: warning: unused variable 'fifo_proc_ops' [-Wunused-const-variable]
static const struct proc_ops fifo_proc_ops = {
^
1 warning generated.
--
>> samples/kfifo/inttype-example.c:138:30: warning: unused variable 'fifo_proc_ops' [-Wunused-const-variable]
static const struct proc_ops fifo_proc_ops = {
^
1 warning generated.
--
>> samples/kfifo/record-example.c:152:30: warning: unused variable 'fifo_proc_ops' [-Wunused-const-variable]
static const struct proc_ops fifo_proc_ops = {
^
1 warning generated.
vim +/fifo_proc_ops +145 samples/kfifo/bytestream-example.c
144
> 145 static const struct proc_ops fifo_proc_ops = {
146 .proc_read = fifo_read,
147 .proc_write = fifo_write,
148 .proc_lseek = noop_llseek,
149 };
150
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 30257 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-08-19 21:41 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-08-19 21:40 samples/kfifo/bytestream-example.c:145:30: warning: unused variable 'fifo_proc_ops' 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).