linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Tudor Ambarus <tudor.ambarus@microchip.com>
Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org
Subject: [ambarus:spi-nor/next-id-collisions-v2 20/27] drivers/mtd/spi-nor/core.c:3126:6: sparse: sparse: symbol 'spi_nor_set_mtd_info' was not declared. Should it be static?
Date: Sun, 25 Jul 2021 05:06:39 +0800	[thread overview]
Message-ID: <202107250549.TfKWkD6F-lkp@intel.com> (raw)

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

tree:   https://github.com/ambarus/linux-0day spi-nor/next-id-collisions-v2
head:   b4bf25c4aeb0e9be35b688a2eaa4e9b902dff4f4
commit: 1db04a902d5710228c3172ac7113a78857a3695f [20/27] mtd: spi-nor: Introduce spi_nor_set_mtd_info()
config: x86_64-randconfig-s021-20210723 (attached as .config)
compiler: gcc-10 (Ubuntu 10.3.0-1ubuntu1~20.04) 10.3.0
reproduce:
        # apt-get install sparse
        # sparse version: v0.6.3-341-g8af24329-dirty
        # https://github.com/ambarus/linux-0day/commit/1db04a902d5710228c3172ac7113a78857a3695f
        git remote add ambarus https://github.com/ambarus/linux-0day
        git fetch --no-tags ambarus spi-nor/next-id-collisions-v2
        git checkout 1db04a902d5710228c3172ac7113a78857a3695f
        # save the attached .config to linux build tree
        make W=1 C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=build_dir ARCH=x86_64 SHELL=/bin/bash drivers/mtd/spi-nor/

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>


sparse warnings: (new ones prefixed by >>)
>> drivers/mtd/spi-nor/core.c:3126:6: sparse: sparse: symbol 'spi_nor_set_mtd_info' was not declared. Should it be static?

Please review and possibly fold the followup patch.

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

             reply	other threads:[~2021-07-24 21:07 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-24 21:06 kernel test robot [this message]
2021-07-24 21:06 ` [RFC PATCH ambarus] mtd: spi-nor: spi_nor_set_mtd_info() can be static kernel test robot

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=202107250549.TfKWkD6F-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=kbuild-all@lists.01.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=tudor.ambarus@microchip.com \
    /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;
as well as URLs for NNTP newsgroup(s).