[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <202503240635.ir63jqTI-lkp@intel.com>
Date: Mon, 24 Mar 2025 06:52:21 +0800
From: kernel test robot <lkp@...el.com>
To: Sahil Siddiq <icegambit91@...il.com>, jonas@...thpole.se,
stefan.kristiansson@...nalahti.fi, shorne@...il.com
Cc: oe-kbuild-all@...ts.linux.dev, sahilcdq@...ton.me,
linux-openrisc@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v3 3/3] openrisc: Add cacheinfo support
Hi Sahil,
kernel test robot noticed the following build warnings:
[auto build test WARNING on ea1413e5b53a8dd4fa7675edb23cdf828bbdce1e]
url: https://github.com/intel-lab-lkp/linux/commits/Sahil-Siddiq/openrisc-Refactor-struct-cpuinfo_or1k-to-reduce-duplication/20250324-035738
base: ea1413e5b53a8dd4fa7675edb23cdf828bbdce1e
patch link: https://lore.kernel.org/r/20250323195544.152948-4-sahilcdq%40proton.me
patch subject: [PATCH v3 3/3] openrisc: Add cacheinfo support
config: openrisc-allnoconfig (https://download.01.org/0day-ci/archive/20250324/202503240635.ir63jqTI-lkp@intel.com/config)
compiler: or1k-linux-gcc (GCC) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250324/202503240635.ir63jqTI-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@...el.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202503240635.ir63jqTI-lkp@intel.com/
All warnings (new ones prefixed by >>):
arch/openrisc/kernel/setup.c: In function 'show_cpuinfo':
>> arch/openrisc/kernel/setup.c:266:30: warning: unused variable 'cpuinfo' [-Wunused-variable]
266 | struct cpuinfo_or1k *cpuinfo = v;
| ^~~~~~~
vim +/cpuinfo +266 arch/openrisc/kernel/setup.c
9d02a4283e9ce4 Jonas Bonn 2011-06-04 260
9d02a4283e9ce4 Jonas Bonn 2011-06-04 261 static int show_cpuinfo(struct seq_file *m, void *v)
9d02a4283e9ce4 Jonas Bonn 2011-06-04 262 {
8e6d08e0a15e7d Stefan Kristiansson 2014-05-11 263 unsigned int vr, cpucfgr;
8e6d08e0a15e7d Stefan Kristiansson 2014-05-11 264 unsigned int avr;
8e6d08e0a15e7d Stefan Kristiansson 2014-05-11 265 unsigned int version;
8e6d08e0a15e7d Stefan Kristiansson 2014-05-11 @266 struct cpuinfo_or1k *cpuinfo = v;
9d02a4283e9ce4 Jonas Bonn 2011-06-04 267
9d02a4283e9ce4 Jonas Bonn 2011-06-04 268 vr = mfspr(SPR_VR);
8e6d08e0a15e7d Stefan Kristiansson 2014-05-11 269 cpucfgr = mfspr(SPR_CPUCFGR);
8e6d08e0a15e7d Stefan Kristiansson 2014-05-11 270
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
Powered by blists - more mailing lists