From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: [hare-scsi-devel:auth.v2 3/15] crypto/ffdhe_helper.c:854:5: warning: no previous prototype for 'crypto_ffdhe_params'
Date: Fri, 06 Aug 2021 10:35:50 +0800 [thread overview]
Message-ID: <202108061044.bCaLoz49-lkp@intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 2588 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(a)lists.01.org
[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 54768 bytes --]
WARNING: multiple messages have this Message-ID (diff)
From: kernel test robot <lkp@intel.com>
To: Hannes Reinecke <hare@suse.de>
Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org
Subject: [hare-scsi-devel:auth.v2 3/15] crypto/ffdhe_helper.c:854:5: warning: no previous prototype for 'crypto_ffdhe_params'
Date: Fri, 6 Aug 2021 10:35:50 +0800 [thread overview]
Message-ID: <202108061044.bCaLoz49-lkp@intel.com> (raw)
[-- 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 --]
next reply other threads:[~2021-08-06 2:35 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-08-06 2:35 kernel test robot [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202108061044.bCaLoz49-lkp@intel.com \
--to=lkp@intel.com \
--cc=kbuild-all@lists.01.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.