linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* drivers/regulator/mp886x.c:203:34: warning: unused variable 'mp886x_dt_ids'
@ 2020-09-10 19:02 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2020-09-10 19:02 UTC (permalink / raw)
  To: Jisheng Zhang; +Cc: kbuild-all, clang-built-linux, linux-kernel, Mark Brown

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

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   7fe10096c1508c7f033d34d0741809f8eecc1ed4
commit: 97be82880b617fb6bc06ff19e3ddb039501b2dcf regulator: add support for MP8869 regulator
date:   6 months ago
config: x86_64-randconfig-a011-20200910 (attached as .config)
compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project 0a5dc7effb191eff740e0e7ae7bd8e1f6bdb3ad9)
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
        git checkout 97be82880b617fb6bc06ff19e3ddb039501b2dcf
        # 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/regulator/mp886x.c:203:34: warning: unused variable 'mp886x_dt_ids' [-Wunused-const-variable]
   static const struct of_device_id mp886x_dt_ids[] = {
                                    ^
   1 warning generated.

# https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=97be82880b617fb6bc06ff19e3ddb039501b2dcf
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout 97be82880b617fb6bc06ff19e3ddb039501b2dcf
vim +/mp886x_dt_ids +203 drivers/regulator/mp886x.c

   202	
 > 203	static const struct of_device_id mp886x_dt_ids[] = {
   204		{
   205			.compatible = "mps,mp8869",
   206			.data = &mp8869_regulator_ops
   207		},
   208		{ }
   209	};
   210	MODULE_DEVICE_TABLE(of, mp886x_dt_ids);
   211	

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

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

only message in thread, other threads:[~2020-09-10 19:04 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-10 19:02 drivers/regulator/mp886x.c:203:34: warning: unused variable 'mp886x_dt_ids' 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).