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>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <202008202008.JfY8S1sB%lkp@intel.com>
Date:   Thu, 20 Aug 2020 20:07:40 +0800
From:   kernel test robot <lkp@...el.com>
To:     Stephan Müller <smueller@...onox.de>,
        Arnd Bergmann <arnd@...db.de>
Cc:     kbuild-all@...ts.01.org,
        Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
        linux-crypto@...r.kernel.org, LKML <linux-kernel@...r.kernel.org>,
        linux-api@...r.kernel.org,
        "Eric W. Biederman" <ebiederm@...ssion.com>,
        "Alexander E. Patrakov" <patrakov@...il.com>,
        "Ahmed S. Darwish" <darwish.07@...il.com>,
        "Theodore Y. Ts'o" <tytso@....edu>, Willy Tarreau <w@....eu>
Subject: Re: [PATCH v32 06/12] LRNG - add SP800-90A DRBG extension

Hi "Stephan,

Thank you for the patch! Perhaps something to improve:

[auto build test WARNING on char-misc/char-misc-testing]
[also build test WARNING on cryptodev/master crypto/master v5.9-rc1 next-20200820]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]

url:    https://github.com/0day-ci/linux/commits/Stephan-M-ller/dev-random-a-new-approach-with-full-SP800-90B-compliance/20200820-165712
base:   https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc.git d162219c655c8cf8003128a13840d6c1e183fb80
config: nios2-allyesconfig (attached as .config)
compiler: nios2-linux-gcc (GCC) 9.3.0
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
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=nios2 

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/char/lrng/lrng_drbg.c:226:1: warning: 'static' is not at beginning of declaration [-Wold-style-declaration]
     226 | const static struct lrng_crypto_cb lrng_drbg_crypto_cb = {
         | ^~~~~

# https://github.com/0day-ci/linux/commit/9f9f02aa6db0f17774ad2e8646faf738097260e8
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Stephan-M-ller/dev-random-a-new-approach-with-full-SP800-90B-compliance/20200820-165712
git checkout 9f9f02aa6db0f17774ad2e8646faf738097260e8
vim +/static +226 drivers/char/lrng/lrng_drbg.c

   225	
 > 226	const static struct lrng_crypto_cb lrng_drbg_crypto_cb = {
   227		.lrng_drng_name			= lrng_drbg_name,
   228		.lrng_hash_name			= lrng_hash_name,
   229		.lrng_drng_alloc		= lrng_drbg_drng_alloc,
   230		.lrng_drng_dealloc		= lrng_drbg_drng_dealloc,
   231		.lrng_drng_seed_helper		= lrng_drbg_drng_seed_helper,
   232		.lrng_drng_generate_helper	= lrng_drbg_drng_generate_helper,
   233		.lrng_hash_alloc		= lrng_drbg_hash_alloc,
   234		.lrng_hash_dealloc		= lrng_drbg_hash_dealloc,
   235		.lrng_hash_digestsize		= lrng_drbg_hash_digestsize,
   236		.lrng_hash_buffer		= lrng_drbg_hash_buffer,
   237	};
   238	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

Download attachment ".config.gz" of type "application/gzip" (57271 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ