public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [hare-scsi-devel:auth.v2 3/15] crypto/ffdhe_helper.c:854:5: warning: no previous prototype for 'crypto_ffdhe_params'
@ 2021-08-06  2:35 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-08-06  2:35 UTC (permalink / raw)
  To: Hannes Reinecke; +Cc: kbuild-all, linux-kernel

[-- Attachment #1: Type: text/plain, Size: 2522 bytes --]

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/hare/scsi-devel.git auth.v2
head:   a9934e3c1c89f0bdcf74245205d986814767ecc1
commit: 2860467278bdb68b25455dc90ee0ed3100199f83 [3/15] crypto/ffdhe: Finite Field DH Ephemeral Parameters
config: sh-allmodconfig (attached as .config)
compiler: sh4-linux-gcc (GCC) 10.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
        # https://git.kernel.org/pub/scm/linux/kernel/git/hare/scsi-devel.git/commit/?id=2860467278bdb68b25455dc90ee0ed3100199f83
        git remote add hare-scsi-devel https://git.kernel.org/pub/scm/linux/kernel/git/hare/scsi-devel.git
        git fetch --no-tags hare-scsi-devel auth.v2
        git checkout 2860467278bdb68b25455dc90ee0ed3100199f83
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-10.3.0 make.cross ARCH=sh 

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

All warnings (new ones prefixed by >>):

>> crypto/ffdhe_helper.c:854:5: warning: no previous prototype for 'crypto_ffdhe_params' [-Wmissing-prototypes]
     854 | int crypto_ffdhe_params(struct dh *p, int bits)
         |     ^~~~~~~~~~~~~~~~~~~

Kconfig warnings: (for reference only)
   WARNING: unmet direct dependencies detected for SND_ATMEL_SOC_PDC
   Depends on SOUND && !UML && SND && SND_SOC && SND_ATMEL_SOC && HAS_DMA
   Selected by
   - SND_ATMEL_SOC_SSC && SOUND && !UML && SND && SND_SOC && SND_ATMEL_SOC
   - SND_ATMEL_SOC_SSC_PDC && SOUND && !UML && SND && SND_SOC && SND_ATMEL_SOC && ATMEL_SSC


vim +/crypto_ffdhe_params +854 crypto/ffdhe_helper.c

   853	
 > 854	int crypto_ffdhe_params(struct dh *p, int bits)
   855	{
   856		struct ffdhe_group *grp = NULL;
   857		int i;
   858	
   859		for (i = 0; i < ARRAY_SIZE(ffdhe_group_map); i++) {
   860			if (ffdhe_group_map[i].bits == bits) {
   861				grp = &ffdhe_group_map[i];
   862				break;
   863			}
   864		}
   865		if (!grp || !p)
   866			return -EINVAL;
   867	
   868		p->p_size = grp->bits / 8;
   869		p->p = (u8 *)grp->p;
   870		p->g_size = 1;
   871		p->g = (u8 *)grp->g;
   872		p->q_size = grp->bits / 8;
   873		p->q = (u8 *)grp->q;
   874	
   875		return 0;
   876	}
   877	EXPORT_SYMBOL_GPL(crypto_ffdhe_params);
   878	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 54768 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-08-06  2:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-08-06  2:35 [hare-scsi-devel:auth.v2 3/15] crypto/ffdhe_helper.c:854:5: warning: no previous prototype for 'crypto_ffdhe_params' kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox