linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [linux-next:master 8127/13009] drivers/mtd/devices/mchp48l640.c:350:34: warning: unused variable 'mchp48l640_of_table'
@ 2021-06-25 12:18 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-06-25 12:18 UTC (permalink / raw)
  To: Heiko Schocher
  Cc: kbuild-all, clang-built-linux, Linux Memory Management List,
	Miquel Raynal

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

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head:   2a8927f0efb6fb34b9d11dab3bd3f018e866d36d
commit: 88d1250267535b26106ca9582701bbad940cec01 [8127/13009] mtd: devices: add support for microchip 48l640 EERAM
config: x86_64-randconfig-r025-20210625 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project 9ca0171a9ffdef5fdb1511d197a3fd72490362de)
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
        # install x86_64 cross compiling tool for clang build
        # apt-get install binutils-x86-64-linux-gnu
        # https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=88d1250267535b26106ca9582701bbad940cec01
        git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
        git fetch --no-tags linux-next master
        git checkout 88d1250267535b26106ca9582701bbad940cec01
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=x86_64 

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/mtd/devices/mchp48l640.c:350:34: warning: unused variable 'mchp48l640_of_table' [-Wunused-const-variable]
   static const struct of_device_id mchp48l640_of_table[] = {
                                    ^
   1 warning generated.


vim +/mchp48l640_of_table +350 drivers/mtd/devices/mchp48l640.c

   349	
 > 350	static const struct of_device_id mchp48l640_of_table[] = {
   351		{
   352			.compatible = "microchip,48l640",
   353			.data = &mchp48l640_caps,
   354		},
   355		{}
   356	};
   357	MODULE_DEVICE_TABLE(of, mchp48l640_of_table);
   358	

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-06-25 12:19 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-25 12:18 [linux-next:master 8127/13009] drivers/mtd/devices/mchp48l640.c:350:34: warning: unused variable 'mchp48l640_of_table' kernel test robot

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