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: <202205101001.UUeWDJtR-lkp@intel.com>
Date:   Tue, 10 May 2022 10:27:34 +0800
From:   kernel test robot <lkp@...el.com>
To:     Ard Biesheuvel <ard.biesheuvel@...aro.org>
Cc:     kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org,
        Herbert Xu <herbert@...dor.apana.org.au>,
        Linus Walleij <linus.walleij@...aro.org>
Subject: drivers/crypto/atmel-sha204a.c:135:34: warning:
 'atmel_sha204a_dt_ids' defined but not used

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   9be9ed2612b5aedb52a2c240edb1630b6b743cb6
commit: da001fb651b00e1deeaf24767dd691ae8152a4f5 crypto: atmel-i2c - add support for SHA204A random number generator
date:   2 years, 11 months ago
config: i386-randconfig-r026-20220509 (https://download.01.org/0day-ci/archive/20220510/202205101001.UUeWDJtR-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=da001fb651b00e1deeaf24767dd691ae8152a4f5
        git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
        git fetch --no-tags linus master
        git checkout da001fb651b00e1deeaf24767dd691ae8152a4f5
        # save the config file
        mkdir build_dir && cp config build_dir/.config
        make W=1 O=build_dir ARCH=i386 SHELL=/bin/bash drivers/crypto/

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@...el.com>

All warnings (new ones prefixed by >>):

>> drivers/crypto/atmel-sha204a.c:135:34: warning: 'atmel_sha204a_dt_ids' defined but not used [-Wunused-const-variable=]
     135 | static const struct of_device_id atmel_sha204a_dt_ids[] = {
         |                                  ^~~~~~~~~~~~~~~~~~~~
   In file included from drivers/crypto/atmel-sha204a.c:19:
   drivers/crypto/atmel-i2c.h:67:3: warning: 'error_list' defined but not used [-Wunused-const-variable=]
      67 | } error_list[] = {
         |   ^~~~~~~~~~


vim +/atmel_sha204a_dt_ids +135 drivers/crypto/atmel-sha204a.c

   134	
 > 135	static const struct of_device_id atmel_sha204a_dt_ids[] = {
   136		{ .compatible = "atmel,atsha204a", },
   137		{ /* sentinel */ }
   138	};
   139	MODULE_DEVICE_TABLE(of, atmel_sha204a_dt_ids);
   140	

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ