[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202208310843.cesiRP88-lkp@intel.com>
Date: Wed, 31 Aug 2022 09:03:16 +0800
From: kernel test robot <lkp@...el.com>
To: Koba Ko <koba.ko@...onical.com>,
Tom Lendacky <thomas.lendacky@....com>,
John Allen <john.allen@....com>,
Herbert Xu <herbert@...dor.apana.org.au>,
"David S. Miller" <davem@...emloft.net>,
linux-crypto@...r.kernel.org, linux-kernel@...r.kernel.org
Cc: kbuild-all@...ts.01.org, netdev@...r.kernel.org
Subject: Re: crypto: ccp - Release dma channels before dmaengine unrgister
Hi Koba,
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 v6.0-rc3 next-20220830]
[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#_base_tree_information]
url: https://github.com/intel-lab-lkp/linux/commits/Koba-Ko/crypto-ccp-Release-dma-channels-before-dmaengine-unrgister/20220830-173803
base: https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git master
config: x86_64-allyesconfig (https://download.01.org/0day-ci/archive/20220831/202208310843.cesiRP88-lkp@intel.com/config)
compiler: gcc-11 (Debian 11.3.0-5) 11.3.0
reproduce (this is a W=1 build):
# https://github.com/intel-lab-lkp/linux/commit/5aa373b58528f3f99c5a010e76728776f0240603
git remote add linux-review https://github.com/intel-lab-lkp/linux
git fetch --no-tags linux-review Koba-Ko/crypto-ccp-Release-dma-channels-before-dmaengine-unrgister/20220830-173803
git checkout 5aa373b58528f3f99c5a010e76728776f0240603
# save the config file
mkdir build_dir && cp config build_dir/.config
make W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash drivers/crypto/
If you fix the issue, kindly add following tag where applicable
Reported-by: kernel test robot <lkp@...el.com>
All warnings (new ones prefixed by >>):
drivers/crypto/ccp/ccp-dmaengine.c: In function 'ccp_dmaengine_unregister':
>> drivers/crypto/ccp/ccp-dmaengine.c:770:22: warning: unused variable 'i' [-Wunused-variable]
770 | unsigned int i;
| ^
>> drivers/crypto/ccp/ccp-dmaengine.c:769:26: warning: unused variable 'dma_chan' [-Wunused-variable]
769 | struct dma_chan *dma_chan;
| ^~~~~~~~
vim +/i +770 drivers/crypto/ccp/ccp-dmaengine.c
765
766 void ccp_dmaengine_unregister(struct ccp_device *ccp)
767 {
768 struct dma_device *dma_dev = &ccp->dma_dev;
> 769 struct dma_chan *dma_chan;
> 770 unsigned int i;
--
0-DAY CI Kernel Test Service
https://01.org/lkp
Powered by blists - more mailing lists