lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202308212037.YopffWSU-lkp@intel.com>
Date:   Mon, 21 Aug 2023 20:40:46 +0800
From:   kernel test robot <lkp@...el.com>
To:     Viresh Kumar <viresh.kumar@...aro.org>
Cc:     oe-kbuild-all@...ts.linux.dev, linux-kernel@...r.kernel.org,
        Rob Herring <robh@...nel.org>, Stephen Boyd <sboyd@...nel.org>
Subject: drivers/of/platform.c:35:34: warning: 'of_skipped_node_table'
 defined but not used

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   f7757129e3dea336c407551c98f50057c22bb266
commit: 4550fe6370ab01f6b1dff97ceffc284d1f38e70c of: Don't create device for OPP tables
date:   5 years ago
config: sparc64-allnoconfig (https://download.01.org/0day-ci/archive/20230821/202308212037.YopffWSU-lkp@intel.com/config)
compiler: sparc64-linux-gcc (GCC) 12.3.0
reproduce: (https://download.01.org/0day-ci/archive/20230821/202308212037.YopffWSU-lkp@intel.com/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@...el.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202308212037.YopffWSU-lkp@intel.com/

All warnings (new ones prefixed by >>):

>> drivers/of/platform.c:35:34: warning: 'of_skipped_node_table' defined but not used [-Wunused-const-variable=]
      35 | static const struct of_device_id of_skipped_node_table[] = {
         |                                  ^~~~~~~~~~~~~~~~~~~~~
   drivers/of/platform.c:297: warning: Function parameter or member 'lookup' not described in 'of_dev_lookup'
   drivers/of/platform.c:297: warning: Function parameter or member 'np' not described in 'of_dev_lookup'

Kconfig warnings: (for reference only)
   WARNING: unmet direct dependencies detected for COMPAT_BINFMT_ELF
   Depends on [n]: COMPAT [=y] && BINFMT_ELF [=n]
   Selected by [y]:
   - COMPAT [=y] && SPARC64 [=y]


vim +/of_skipped_node_table +35 drivers/of/platform.c

    34	
  > 35	static const struct of_device_id of_skipped_node_table[] = {
    36		{ .compatible = "operating-points-v2", },
    37		{} /* Empty terminated list */
    38	};
    39	

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ