Re: [PATCH] crypto: jitter - use permanent health test storage

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

 



Hi Stephan,

kernel test robot noticed the following build warnings:

[auto build test WARNING on herbert-cryptodev-2.6/master]
[also build test WARNING on next-20231018]
[cannot apply to linus/master v6.6-rc6]
[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#_base_tree_information]

url:    https://github.com/intel-lab-lkp/linux/commits/Stephan-M-ller/crypto-jitter-use-permanent-health-test-storage/20231019-134905
base:   https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git master
patch link:    https://lore.kernel.org/r/5719392.DvuYhMxLoT%40positron.chronox.de
patch subject: [PATCH] crypto: jitter - use permanent health test storage
config: m68k-allyesconfig (https://download.01.org/0day-ci/archive/20231019/202310191425.b4ubLtWo-lkp@xxxxxxxxx/config)
compiler: m68k-linux-gcc (GCC) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231019/202310191425.b4ubLtWo-lkp@xxxxxxxxx/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202310191425.b4ubLtWo-lkp@xxxxxxxxx/

All warnings (new ones prefixed by >>):

>> crypto/jitterentropy.c:359:14: warning: no previous prototype for 'jent_health_failure' [-Wmissing-prototypes]
     359 | unsigned int jent_health_failure(struct rand_data *ec)
         |              ^~~~~~~~~~~~~~~~~~~


vim +/jent_health_failure +359 crypto/jitterentropy.c

   346	
   347	/*
   348	 * Report any health test failures
   349	 *
   350	 * @ec [in] Reference to entropy collector
   351	 *
   352	 * @return a bitmask indicating which tests failed
   353	 *	0 No health test failure
   354	 *	1 RCT failure
   355	 *	2 APT failure
   356	 *	1<<JENT_PERMANENT_FAILURE_SHIFT RCT permanent failure
   357	 *	2<<JENT_PERMANENT_FAILURE_SHIFT APT permanent failure
   358	 */
 > 359	unsigned int jent_health_failure(struct rand_data *ec)
   360	{
   361		/* Test is only enabled in FIPS mode */
   362		if (!fips_enabled)
   363			return 0;
   364	
   365		return ec->health_failure;
   366	}
   367	

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki



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