[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <202107250549.TfKWkD6F-lkp@intel.com>
Date: Sun, 25 Jul 2021 05:06:39 +0800
From: kernel test robot <lkp@...el.com>
To: Tudor Ambarus <tudor.ambarus@...rochip.com>
Cc: kbuild-all@...ts.01.org, linux-kernel@...r.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?
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@...el.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
Download attachment ".config.gz" of type "application/gzip" (29587 bytes)
Powered by blists - more mailing lists