* [hare-scsi-devel:auth.v4 6/11] drivers/nvme/host/auth.c:647:6: warning: no previous prototype for 'nvme_auth_free'
@ 2021-07-18 22:35 ` kernel test robot
0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2021-07-18 22:35 UTC (permalink / raw)
To: Hannes Reinecke; +Cc: kbuild-all, linux-kernel
[-- Attachment #1: Type: text/plain, Size: 2359 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/hare/scsi-devel.git auth.v4
head: d22f44dbe36eb82041e9e28db6a767c55c8d790e
commit: d66b27a87d6a66eb707dd21d4c9f4efc6c6f2599 [6/11] nvme: Implement In-Band authentication
config: nios2-allyesconfig (attached as .config)
compiler: nios2-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=d66b27a87d6a66eb707dd21d4c9f4efc6c6f2599
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.v4
git checkout d66b27a87d6a66eb707dd21d4c9f4efc6c6f2599
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-10.3.0 make.cross ARCH=nios2
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 >>):
drivers/nvme/host/auth.c:440:5: warning: no previous prototype for 'nvme_auth_select_hash' [-Wmissing-prototypes]
440 | int nvme_auth_select_hash(struct nvme_ctrl *ctrl,
| ^~~~~~~~~~~~~~~~~~~~~
drivers/nvme/host/auth.c:591:5: warning: no previous prototype for 'nvme_auth_generate_key' [-Wmissing-prototypes]
591 | int nvme_auth_generate_key(struct nvme_ctrl *ctrl,
| ^~~~~~~~~~~~~~~~~~~~~~
>> drivers/nvme/host/auth.c:647:6: warning: no previous prototype for 'nvme_auth_free' [-Wmissing-prototypes]
647 | void nvme_auth_free(struct nvme_dhchap_context *chap)
| ^~~~~~~~~~~~~~
vim +/nvme_auth_free +647 drivers/nvme/host/auth.c
646
> 647 void nvme_auth_free(struct nvme_dhchap_context *chap)
648 {
649 if (chap->shash_tfm)
650 crypto_free_shash(chap->shash_tfm);
651 if (chap->key)
652 kfree(chap->key);
653 if (chap->ctrl_key)
654 kfree(chap->ctrl_key);
655 if (chap->host_key)
656 kfree(chap->host_key);
657 if (chap->sess_key)
658 kfree(chap->sess_key);
659 kfree(chap);
660 }
661
---
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: 59721 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* [hare-scsi-devel:auth.v4 6/11] drivers/nvme/host/auth.c:647:6: warning: no previous prototype for 'nvme_auth_free'
@ 2021-07-18 22:35 ` kernel test robot
0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2021-07-18 22:35 UTC (permalink / raw)
To: kbuild-all
[-- Attachment #1: Type: text/plain, Size: 2414 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/hare/scsi-devel.git auth.v4
head: d22f44dbe36eb82041e9e28db6a767c55c8d790e
commit: d66b27a87d6a66eb707dd21d4c9f4efc6c6f2599 [6/11] nvme: Implement In-Band authentication
config: nios2-allyesconfig (attached as .config)
compiler: nios2-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=d66b27a87d6a66eb707dd21d4c9f4efc6c6f2599
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.v4
git checkout d66b27a87d6a66eb707dd21d4c9f4efc6c6f2599
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-10.3.0 make.cross ARCH=nios2
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 >>):
drivers/nvme/host/auth.c:440:5: warning: no previous prototype for 'nvme_auth_select_hash' [-Wmissing-prototypes]
440 | int nvme_auth_select_hash(struct nvme_ctrl *ctrl,
| ^~~~~~~~~~~~~~~~~~~~~
drivers/nvme/host/auth.c:591:5: warning: no previous prototype for 'nvme_auth_generate_key' [-Wmissing-prototypes]
591 | int nvme_auth_generate_key(struct nvme_ctrl *ctrl,
| ^~~~~~~~~~~~~~~~~~~~~~
>> drivers/nvme/host/auth.c:647:6: warning: no previous prototype for 'nvme_auth_free' [-Wmissing-prototypes]
647 | void nvme_auth_free(struct nvme_dhchap_context *chap)
| ^~~~~~~~~~~~~~
vim +/nvme_auth_free +647 drivers/nvme/host/auth.c
646
> 647 void nvme_auth_free(struct nvme_dhchap_context *chap)
648 {
649 if (chap->shash_tfm)
650 crypto_free_shash(chap->shash_tfm);
651 if (chap->key)
652 kfree(chap->key);
653 if (chap->ctrl_key)
654 kfree(chap->ctrl_key);
655 if (chap->host_key)
656 kfree(chap->host_key);
657 if (chap->sess_key)
658 kfree(chap->sess_key);
659 kfree(chap);
660 }
661
---
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: 59721 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-07-18 22:35 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-18 22:35 [hare-scsi-devel:auth.v4 6/11] drivers/nvme/host/auth.c:647:6: warning: no previous prototype for 'nvme_auth_free' kernel test robot
2021-07-18 22:35 ` kernel test robot
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.