All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Sahil Siddiq <icegambit91@gmail.com>,
	jonas@southpole.se, stefan.kristiansson@saunalahti.fi,
	shorne@gmail.com
Cc: oe-kbuild-all@lists.linux.dev, sahilcdq@proton.me,
	linux-openrisc@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH v3 3/3] openrisc: Add cacheinfo support
Date: Mon, 24 Mar 2025 06:52:21 +0800	[thread overview]
Message-ID: <202503240635.ir63jqTI-lkp@intel.com> (raw)
In-Reply-To: <20250323195544.152948-4-sahilcdq@proton.me>

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

  reply	other threads:[~2025-03-23 22:53 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-03-23 19:55 [PATCH v3 0/3] openrisc: Add cacheinfo support and introduce new utility functions Sahil Siddiq
2025-03-23 19:55 ` [PATCH v3 1/3] openrisc: Refactor struct cpuinfo_or1k to reduce duplication Sahil Siddiq
2025-03-26 16:50   ` Stafford Horne
2025-03-23 19:55 ` [PATCH v3 2/3] openrisc: Introduce new utility functions to flush and invalidate caches Sahil Siddiq
2025-03-26 17:11   ` Stafford Horne
2025-03-28 19:40     ` Sahil Siddiq
2025-03-23 19:55 ` [PATCH v3 3/3] openrisc: Add cacheinfo support Sahil Siddiq
2025-03-23 22:52   ` kernel test robot [this message]
2025-03-26 17:13   ` Stafford Horne

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=202503240635.ir63jqTI-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=icegambit91@gmail.com \
    --cc=jonas@southpole.se \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-openrisc@vger.kernel.org \
    --cc=oe-kbuild-all@lists.linux.dev \
    --cc=sahilcdq@proton.me \
    --cc=shorne@gmail.com \
    --cc=stefan.kristiansson@saunalahti.fi \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.