Re: [PATCH v32 06/12] LRNG - add SP800-90A DRBG extension

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx>

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@xxxxxxxxxxxx

Attachment: .config.gz
Description: application/gzip


[Index of Archives]     [Kernel]     [Gnu Classpath]     [Gnu Crypto]     [DM Crypt]     [Netfilter]     [Bugtraq]

  Powered by Linux