mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Sid Manning <sidneym@codeaurora.org>
Cc: clang-built-linux@googlegroups.com, kbuild-all@lists.01.org,
	linux-kernel@vger.kernel.org, Brian Cain <bcain@codeaurora.org>,
	Nick Desaulniers <ndesaulniers@google.com>
Subject: drivers/spi/spi-sh-msiof.c:1076:34: warning: unused variable 'sh_msiof_match'
Date: Wed, 4 Aug 2021 19:55:19 +0800	[thread overview]
Message-ID: <202108041907.J88rdV2n-lkp@intel.com> (raw)

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

Hi Sid,

First bad commit (maybe != root cause):

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   d5ad8ec3cfb56a017de6a784835666475b4be349
commit: 788dcee0306e1bdbae1a76d1b3478bb899c5838e Hexagon: fix build errors
date:   3 months ago
config: hexagon-randconfig-r024-20210804 (attached as .config)
compiler: clang version 12.0.0
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
        # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=788dcee0306e1bdbae1a76d1b3478bb899c5838e
        git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
        git fetch --no-tags linus master
        git checkout 788dcee0306e1bdbae1a76d1b3478bb899c5838e
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=hexagon 

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 >>):

>> drivers/spi/spi-sh-msiof.c:1076:34: warning: unused variable 'sh_msiof_match' [-Wunused-const-variable]
   static const struct of_device_id sh_msiof_match[] = {
                                    ^
   1 warning generated.


vim +/sh_msiof_match +1076 drivers/spi/spi-sh-msiof.c

50a7e23f536779 Geert Uytterhoeven 2014-02-25  1075  
50a7e23f536779 Geert Uytterhoeven 2014-02-25 @1076  static const struct of_device_id sh_msiof_match[] = {
50a7e23f536779 Geert Uytterhoeven 2014-02-25  1077  	{ .compatible = "renesas,sh-mobile-msiof", .data = &sh_data },
bdacfc7b6216dd Fabrizio Castro    2017-09-25  1078  	{ .compatible = "renesas,msiof-r8a7743",   .data = &rcar_gen2_data },
bdacfc7b6216dd Fabrizio Castro    2017-09-25  1079  	{ .compatible = "renesas,msiof-r8a7745",   .data = &rcar_gen2_data },
61a8dec502b873 Geert Uytterhoeven 2017-07-12  1080  	{ .compatible = "renesas,msiof-r8a7790",   .data = &rcar_gen2_data },
61a8dec502b873 Geert Uytterhoeven 2017-07-12  1081  	{ .compatible = "renesas,msiof-r8a7791",   .data = &rcar_gen2_data },
61a8dec502b873 Geert Uytterhoeven 2017-07-12  1082  	{ .compatible = "renesas,msiof-r8a7792",   .data = &rcar_gen2_data },
61a8dec502b873 Geert Uytterhoeven 2017-07-12  1083  	{ .compatible = "renesas,msiof-r8a7793",   .data = &rcar_gen2_data },
61a8dec502b873 Geert Uytterhoeven 2017-07-12  1084  	{ .compatible = "renesas,msiof-r8a7794",   .data = &rcar_gen2_data },
61a8dec502b873 Geert Uytterhoeven 2017-07-12  1085  	{ .compatible = "renesas,rcar-gen2-msiof", .data = &rcar_gen2_data },
61a8dec502b873 Geert Uytterhoeven 2017-07-12  1086  	{ .compatible = "renesas,msiof-r8a7796",   .data = &rcar_gen3_data },
61a8dec502b873 Geert Uytterhoeven 2017-07-12  1087  	{ .compatible = "renesas,rcar-gen3-msiof", .data = &rcar_gen3_data },
264c3e8de4fbda Simon Horman       2016-12-20  1088  	{ .compatible = "renesas,sh-msiof",        .data = &sh_data }, /* Deprecated */
50a7e23f536779 Geert Uytterhoeven 2014-02-25  1089  	{},
50a7e23f536779 Geert Uytterhoeven 2014-02-25  1090  };
50a7e23f536779 Geert Uytterhoeven 2014-02-25  1091  MODULE_DEVICE_TABLE(of, sh_msiof_match);
50a7e23f536779 Geert Uytterhoeven 2014-02-25  1092  

:::::: The code at line 1076 was first introduced by commit
:::::: 50a7e23f53677918bf521b09ce9bb20fb87cd175 spi: sh-msiof: Move default FIFO sizes to device ID data

:::::: TO: Geert Uytterhoeven <geert+renesas@linux-m68k.org>
:::::: CC: Mark Brown <broonie@linaro.org>

---
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: 24552 bytes --]

                 reply	other threads:[~2021-08-04 11:55 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=202108041907.J88rdV2n-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=bcain@codeaurora.org \
    --cc=clang-built-linux@googlegroups.com \
    --cc=kbuild-all@lists.01.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=ndesaulniers@google.com \
    --cc=sidneym@codeaurora.org \
    /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

all inboxes | Powered by JetHome®