[lkml]   [2020]   [Sep]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH v35 01/13] Linux Random Number Generator
Hi "Stephan,

Thank you for the patch! Yet something to improve:

[auto build test ERROR on char-misc/char-misc-testing]
[also build test ERROR on cryptodev/master crypto/master v5.9-rc5 next-20200918]
[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: 8fd0e2a6df262539eaa28b0a2364cca10d1dc662
config: powerpc-allyesconfig (attached as .config)
compiler: powerpc64-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=powerpc

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

All errors (new ones prefixed by >>):

>> drivers/char/lrng/lrng_chacha20.c:33:8: error: structure variable 'chacha20' with 'latent_entropy' attribute has a non-integer field 'block'
33 | struct chacha20_state chacha20 __latent_entropy;
| ^~~~~~~~~~~~~~

git remote add linux-review
git fetch --no-tags linux-review Stephan-M-ller/dev-random-a-new-approach/20200918-181505
git checkout ecb964754fd80cca434d6d2ad6db8f28a1592fa1
vim +33 drivers/char/lrng/lrng_chacha20.c

28 /*
29 * Have a static memory blocks for the ChaCha20 DRNG instance to avoid calling
30 * kmalloc too early in the boot cycle. For subsequent allocation requests,
31 * such as per-NUMA-node DRNG instances, kmalloc will be used.
32 */
> 33 struct chacha20_state chacha20 __latent_entropy;

0-DAY CI Kernel Test Service, Intel Corporation
[unhandled content-type:application/gzip]
 \ /
  Last update: 2020-09-18 15:11    [W:0.126 / U:1.324 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site