[lkml]   [2020]   [Aug]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH v32 07/12] LRNG - add kernel crypto API PRNG 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]

base: d162219c655c8cf8003128a13840d6c1e183fb80
config: nios2-allyesconfig (attached as .config)
compiler: nios2-linux-gcc (GCC) 9.3.0
reproduce (this is a W=1 build):
wget -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 <>

All warnings (new ones prefixed by >>):

>> drivers/char/lrng/lrng_kcapi.c:295:1: warning: 'static' is not at beginning of declaration [-Wold-style-declaration]
295 | const static struct lrng_crypto_cb lrng_kcapi_crypto_cb = {
| ^~~~~

git remote add linux-review
git fetch --no-tags linux-review Stephan-M-ller/dev-random-a-new-approach-with-full-SP800-90B-compliance/20200820-165712
git checkout 808fe83c881534a108058461be3f9a0706d0c423
vim +/static +295 drivers/char/lrng/lrng_kcapi.c

> 295 const static struct lrng_crypto_cb lrng_kcapi_crypto_cb = {
296 .lrng_drng_name = lrng_kcapi_drng_name,
297 .lrng_hash_name = lrng_kcapi_pool_hash,
298 .lrng_drng_alloc = lrng_kcapi_drng_alloc,
299 .lrng_drng_dealloc = lrng_kcapi_drng_dealloc,
300 .lrng_drng_seed_helper = lrng_kcapi_drng_seed_helper,
301 .lrng_drng_generate_helper = lrng_kcapi_drng_generate_helper,
302 .lrng_hash_alloc = lrng_kcapi_hash_alloc,
303 .lrng_hash_dealloc = lrng_kcapi_hash_dealloc,
304 .lrng_hash_digestsize = lrng_kcapi_hash_digestsize,
305 .lrng_hash_buffer = lrng_kcapi_hash_buffer,
306 };

0-DAY CI Kernel Test Service, Intel Corporation
[unhandled content-type:application/gzip]
 \ /
  Last update: 2020-08-20 14:34    [W:0.286 / U:1.908 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site