linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Herve Codina <herve.codina@bootlin.com>
Cc: oe-kbuild-all@lists.linux.dev,
	Linux Memory Management List <linux-mm@kvack.org>,
	Christophe Leroy <christophe.leroy@csgroup.eu>
Subject: [linux-next:master 8170/10296] drivers/soc/fsl/qe/qmc.c:2002:30: warning: 'qmc_data_qe' defined but not used
Date: Sat, 7 Sep 2024 17:30:44 +0800	[thread overview]
Message-ID: <202409071707.ou2KFNKO-lkp@intel.com> (raw)

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head:   9aaeb87ce1e966169a57f53a02ba05b30880ffb8
commit: eb680d563089e55b20cb7730ed881638fe4425b7 [8170/10296] soc: fsl: cpm1: qmc: Add support for QUICC Engine (QE) implementation
config: powerpc-randconfig-r031-20230616 (https://download.01.org/0day-ci/archive/20240907/202409071707.ou2KFNKO-lkp@intel.com/config)
compiler: powerpc-linux-gcc (GCC) 13.3.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240907/202409071707.ou2KFNKO-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/202409071707.ou2KFNKO-lkp@intel.com/

All warnings (new ones prefixed by >>):

>> drivers/soc/fsl/qe/qmc.c:2002:30: warning: 'qmc_data_qe' defined but not used [-Wunused-const-variable=]
    2002 | static const struct qmc_data qmc_data_qe = {
         |                              ^~~~~~~~~~~
   drivers/soc/fsl/qe/qmc.c:1992:30: warning: 'qmc_data_cpm1' defined but not used [-Wunused-const-variable=]
    1992 | static const struct qmc_data qmc_data_cpm1 = {
         |                              ^~~~~~~~~~~~~


vim +/qmc_data_qe +2002 drivers/soc/fsl/qe/qmc.c

  2001	
> 2002	static const struct qmc_data qmc_data_qe = {
  2003		.version = QMC_QE,
  2004		.tstate = 0x30000000,
  2005		.rstate = 0x30000000,
  2006		.zistate = 0x00000200,
  2007		.zdstate_hdlc = 0x80FFFFE0,
  2008		.zdstate_transp = 0x003FFFE2,
  2009		.rpack = 0x80000000,
  2010	};
  2011	

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki


             reply	other threads:[~2024-09-07  9:31 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-09-07  9:30 kernel test robot [this message]
2024-09-09 12:16 ` Herve Codina

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=202409071707.ou2KFNKO-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=christophe.leroy@csgroup.eu \
    --cc=herve.codina@bootlin.com \
    --cc=linux-mm@kvack.org \
    --cc=oe-kbuild-all@lists.linux.dev \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox