CC: [email protected] In-Reply-To: <[email protected]> References: <[email protected]> TO: Nicolai Stange <[email protected]> TO: Herbert Xu <[email protected]> TO: "David S. Miller" <[email protected]> CC: [email protected] CC: "Stephan Müller" <[email protected]> CC: Hannes Reinecke <[email protected]> CC: Torsten Duwe <[email protected]> CC: Zaibo Xu <[email protected]> CC: Giovanni Cabiddu <[email protected]> CC: David Howells <[email protected]> CC: Jarkko Sakkinen <[email protected]>
Hi Nicolai, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on herbert-cryptodev-2.6/master] [also build test WARNING on herbert-crypto-2.6/master linus/master v5.16-rc3 next-20211201] [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/Nicolai-Stange/crypto-dh-infrastructure-for-NVM-in-band-auth-and-FIPS-conformance/20211201-085159 base: https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git master :::::: branch date: 27 hours ago :::::: commit date: 27 hours ago config: arm-randconfig-m031-20211128 (https://download.01.org/0day-ci/archive/20211202/[email protected]/config) compiler: arm-linux-gnueabi-gcc (GCC) 11.2.0 If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot <[email protected]> Reported-by: Dan Carpenter <[email protected]> smatch warnings: crypto/dh_helper.c:32 get_safe_prime_group() warn: we never enter this loop vim +32 crypto/dh_helper.c 3313d2f891c8a3 Nicolai Stange 2021-12-01 26 3313d2f891c8a3 Nicolai Stange 2021-12-01 27 static inline const struct safe_prime_group * 3313d2f891c8a3 Nicolai Stange 2021-12-01 28 get_safe_prime_group(enum dh_group_id group_id) 3313d2f891c8a3 Nicolai Stange 2021-12-01 29 { 3313d2f891c8a3 Nicolai Stange 2021-12-01 30 int i; 3313d2f891c8a3 Nicolai Stange 2021-12-01 31 3313d2f891c8a3 Nicolai Stange 2021-12-01 @32 for (i = 0; i < ARRAY_SIZE(safe_prime_groups); ++i) { 3313d2f891c8a3 Nicolai Stange 2021-12-01 33 if (safe_prime_groups[i].group_id == group_id) 3313d2f891c8a3 Nicolai Stange 2021-12-01 34 return &safe_prime_groups[i]; 3313d2f891c8a3 Nicolai Stange 2021-12-01 35 } 3313d2f891c8a3 Nicolai Stange 2021-12-01 36 3313d2f891c8a3 Nicolai Stange 2021-12-01 37 return NULL; 3313d2f891c8a3 Nicolai Stange 2021-12-01 38 } 802c7f1c84e4b5 Salvatore Benedetto 2016-06-22 39 --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/[email protected] _______________________________________________ kbuild mailing list -- [email protected] To unsubscribe send an email to [email protected]
