[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202110290728.KUMXvZ80-lkp@intel.com>
Date: Fri, 29 Oct 2021 07:46:37 +0800
From: kernel test robot <lkp@...el.com>
To: Alexey Dobriyan <adobriyan@...il.com>
Cc: llvm@...ts.linux.dev, kbuild-all@...ts.01.org,
linux-kernel@...r.kernel.org,
Andrew Morton <akpm@...ux-foundation.org>,
Linux Memory Management List <linux-mm@...ck.org>
Subject: arch/arm/kernel/atags_proc.c:20:30: warning: unused variable
'atags_proc_ops'
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: f31531e55495ca3746fb895ffdf73586be8259fa
commit: 97a32539b9568bb653683349e5a76d02ff3c3e2c proc: convert everything to "struct proc_ops"
date: 1 year, 9 months ago
config: arm-randconfig-r033-20211028 (attached as .config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project 5db7568a6a1fcb408eb8988abdaff2a225a8eb72)
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/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 W=1 ARCH=arm
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@...el.com>
All warnings (new ones prefixed by >>):
>> arch/arm/kernel/atags_proc.c:20:30: warning: unused variable 'atags_proc_ops' [-Wunused-const-variable]
static const struct proc_ops atags_proc_ops = {
^
1 warning generated.
vim +/atags_proc_ops +20 arch/arm/kernel/atags_proc.c
19
> 20 static const struct proc_ops atags_proc_ops = {
21 .proc_read = atags_read,
22 .proc_lseek = default_llseek,
23 };
24
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
Download attachment ".config.gz" of type "application/gzip" (28459 bytes)
Powered by blists - more mailing lists