linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* arch/arm/kernel/atags_proc.c:20:30: warning: unused variable 'atags_proc_ops'
@ 2021-10-28 23:46 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-10-28 23:46 UTC (permalink / raw)
  To: Alexey Dobriyan
  Cc: llvm, kbuild-all, linux-kernel, Andrew Morton,
	Linux Memory Management List

[-- Attachment #1: Type: text/plain, Size: 1866 bytes --]

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@intel.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

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 28459 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-10-28 23:47 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-28 23:46 arch/arm/kernel/atags_proc.c:20:30: warning: unused variable 'atags_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).