[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202107190633.OqxXtgXn-lkp@intel.com>
Date: Mon, 19 Jul 2021 06:35:36 +0800
From: kernel test robot <lkp@...el.com>
To: Hannes Reinecke <hare@...e.de>
Cc: kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org
Subject: [hare-scsi-devel:auth.v4 6/11] drivers/nvme/host/auth.c:647:6:
warning: no previous prototype for 'nvme_auth_free'
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@...el.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
Download attachment ".config.gz" of type "application/gzip" (59721 bytes)
Powered by blists - more mailing lists