All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Otavio Salvador <otavio@ossystems.com.br>
Cc: oe-kbuild-all@lists.linux.dev
Subject: [freescale-fslc:6.6-2.0.x-imx 5900/16788] include/linux/imx_sema4.h:32:27: warning: 'idx_sema4' defined but not used
Date: Sun, 29 Sep 2024 21:02:30 +0800	[thread overview]
Message-ID: <202409292134.onWf4TIO-lkp@intel.com> (raw)

tree:   https://github.com/Freescale/linux-fslc 6.6-2.0.x-imx
head:   ac32ba5fe66266329914d2020570364afe217bec
commit: 42ac762f9963572c543a987383dd150707610cc5 [5900/16788] Merge branch 'pm/next' into next
config: i386-buildonly-randconfig-004-20240928 (https://download.01.org/0day-ci/archive/20240929/202409292134.onWf4TIO-lkp@intel.com/config)
compiler: gcc-12 (Debian 12.2.0-14) 12.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240929/202409292134.onWf4TIO-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/202409292134.onWf4TIO-lkp@intel.com/

All warnings (new ones prefixed by >>):

   In file included from drivers/clk/imx/clk-pfd.c:9:
>> include/linux/imx_sema4.h:32:27: warning: 'idx_sema4' defined but not used [-Wunused-const-variable=]
      32 | static const unsigned int idx_sema4[SEMA4_NUM_GATES] = {
         |                           ^~~~~~~~~


vim +/idx_sema4 +32 include/linux/imx_sema4.h

0b95e1dc090e92 Anson Huang 2019-04-19  31  
0b95e1dc090e92 Anson Huang 2019-04-19 @32  static const unsigned int idx_sema4[SEMA4_NUM_GATES] = {
0b95e1dc090e92 Anson Huang 2019-04-19  33  	1 << 7, 1 << 6, 1 << 5, 1 << 4,
0b95e1dc090e92 Anson Huang 2019-04-19  34  	1 << 3, 1 << 2, 1 << 1, 1 << 0,
0b95e1dc090e92 Anson Huang 2019-04-19  35  	1 << 15, 1 << 14, 1 << 13, 1 << 12,
0b95e1dc090e92 Anson Huang 2019-04-19  36  	1 << 11, 1 << 10, 1 << 9, 1 << 8,
0b95e1dc090e92 Anson Huang 2019-04-19  37  };
0b95e1dc090e92 Anson Huang 2019-04-19  38  

:::::: The code at line 32 was first introduced by commit
:::::: 0b95e1dc090e921643c11ccd7a7f981b5b8b57c1 char: imx_amp: add sema4 driver support

:::::: TO: Anson Huang <Anson.Huang@nxp.com>
:::::: CC: Dong Aisheng <aisheng.dong@nxp.com>

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

                 reply	other threads:[~2024-09-29 13:03 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=202409292134.onWf4TIO-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=oe-kbuild-all@lists.linux.dev \
    --cc=otavio@ossystems.com.br \
    /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.