All of lore.kernel.org
 help / color / mirror / Atom feed
* drivers/regulator/mp8859.c:131:34: warning: 'mp8859_dt_id' defined but not used
@ 2022-05-11  3:31 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2022-05-11  3:31 UTC (permalink / raw)
  To: Markus Reichl; +Cc: kbuild-all, linux-kernel, Mark Brown

Hi Markus,

First bad commit (maybe != root cause):

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   feb9c5e19e913b53cb536a7aa7c9f20107bb51ec
commit: c66f1cbad53a61f00f8b6273e737d5e560b69ec7 regulator: mp8859: add config option and build entry
date:   2 years, 4 months ago
config: x86_64-randconfig-a013 (https://download.01.org/0day-ci/archive/20220511/202205111110.NZWaV5qs-lkp@intel.com/config)
compiler: gcc-11 (Debian 11.2.0-20) 11.2.0
reproduce (this is a W=1 build):
        # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=c66f1cbad53a61f00f8b6273e737d5e560b69ec7
        git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
        git fetch --no-tags linus master
        git checkout c66f1cbad53a61f00f8b6273e737d5e560b69ec7
        # save the config file
        mkdir build_dir && cp config build_dir/.config
        make W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash drivers/gpu/drm/bridge/analogix/ drivers/regulator/

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/regulator/mp8859.c:131:34: warning: 'mp8859_dt_id' defined but not used [-Wunused-const-variable=]
     131 | static const struct of_device_id mp8859_dt_id[] = {
         |                                  ^~~~~~~~~~~~


vim +/mp8859_dt_id +131 drivers/regulator/mp8859.c

4444a1c10069e2f Markus Reichl 2020-01-06  130  
4444a1c10069e2f Markus Reichl 2020-01-06 @131  static const struct of_device_id mp8859_dt_id[] = {
4444a1c10069e2f Markus Reichl 2020-01-06  132  	{.compatible =  "mps,mp8859"},
4444a1c10069e2f Markus Reichl 2020-01-06  133  	{},
4444a1c10069e2f Markus Reichl 2020-01-06  134  };
4444a1c10069e2f Markus Reichl 2020-01-06  135  MODULE_DEVICE_TABLE(of, mp8859_dt_id);
4444a1c10069e2f Markus Reichl 2020-01-06  136  

:::::: The code at line 131 was first introduced by commit
:::::: 4444a1c10069e2f371fa497ba22feafafed5aada regulator: mp8859: add driver

:::::: TO: Markus Reichl <m.reichl@fivetechno.de>
:::::: CC: Mark Brown <broonie@kernel.org>

-- 
0-DAY CI Kernel Test Service
https://01.org/lkp

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

only message in thread, other threads:[~2022-05-11  3:32 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-05-11  3:31 drivers/regulator/mp8859.c:131:34: warning: 'mp8859_dt_id' defined but not used kernel test robot

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.