From: kernel test robot <lkp@intel.com>
To: Gilad Ben-Yossef <gilad@benyossef.com>,
Herbert Xu <herbert@gondor.apana.org.au>,
"David S. Miller" <davem@davemloft.net>,
Alasdair Kergon <agk@redhat.com>,
Mike Snitzer <snitzer@redhat.com>,
dm-devel@redhat.com, Song Liu <song@kernel.org>
Cc: kbuild-all@lists.01.org, netdev@vger.kernel.org,
Ofir Drang <ofir.drang@arm.com>,
linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH 3/4] dm crypt: switch to EBOIV crypto API template
Date: Tue, 27 Oct 2020 02:19:07 +0800 [thread overview]
Message-ID: <202010270238.SN3UOg7N-lkp@intel.com> (raw)
In-Reply-To: <20201026130450.6947-4-gilad@benyossef.com>
[-- Attachment #1: Type: text/plain, Size: 3007 bytes --]
Hi Gilad,
I love your patch! Perhaps something to improve:
[auto build test WARNING on cryptodev/master]
[also build test WARNING on crypto/master]
[cannot apply to dm/for-next v5.10-rc1 next-20201026]
[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]
url: https://github.com/0day-ci/linux/commits/Gilad-Ben-Yossef/crypto-switch-to-crypto-API-for-EBOIV-generation/20201026-210817
base: https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git master
config: xtensa-allyesconfig (attached as .config)
compiler: xtensa-linux-gcc (GCC) 9.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://github.com/0day-ci/linux/commit/740a3c74568afb5bb9e1383d1e7597bf4c1cfd9d
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Gilad-Ben-Yossef/crypto-switch-to-crypto-API-for-EBOIV-generation/20201026-210817
git checkout 740a3c74568afb5bb9e1383d1e7597bf4c1cfd9d
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=xtensa
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/md/dm-crypt.c: In function 'crypt_iv_elephant_ctr':
>> drivers/md/dm-crypt.c:745:6: warning: variable 'r' set but not used [-Wunused-but-set-variable]
745 | int r;
| ^
vim +/r +745 drivers/md/dm-crypt.c
bbb1658461ac85e Milan Broz 2020-01-03 740
bbb1658461ac85e Milan Broz 2020-01-03 741 static int crypt_iv_elephant_ctr(struct crypt_config *cc, struct dm_target *ti,
bbb1658461ac85e Milan Broz 2020-01-03 742 const char *opts)
bbb1658461ac85e Milan Broz 2020-01-03 743 {
bbb1658461ac85e Milan Broz 2020-01-03 744 struct iv_elephant_private *elephant = &cc->iv_gen_private.elephant;
bbb1658461ac85e Milan Broz 2020-01-03 @745 int r;
bbb1658461ac85e Milan Broz 2020-01-03 746
bbb1658461ac85e Milan Broz 2020-01-03 747 elephant->tfm = crypto_alloc_skcipher("ecb(aes)", 0, 0);
bbb1658461ac85e Milan Broz 2020-01-03 748 if (IS_ERR(elephant->tfm)) {
bbb1658461ac85e Milan Broz 2020-01-03 749 r = PTR_ERR(elephant->tfm);
bbb1658461ac85e Milan Broz 2020-01-03 750 elephant->tfm = NULL;
bbb1658461ac85e Milan Broz 2020-01-03 751 }
bbb1658461ac85e Milan Broz 2020-01-03 752
740a3c74568afb5 Gilad Ben-Yossef 2020-10-26 753 return 0;
bbb1658461ac85e Milan Broz 2020-01-03 754 }
bbb1658461ac85e Milan Broz 2020-01-03 755
---
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: 65117 bytes --]
next prev parent reply other threads:[~2020-10-26 18:19 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-10-26 13:04 [PATCH 0/4] crypto: switch to crypto API for EBOIV generation Gilad Ben-Yossef
2020-10-26 13:04 ` [PATCH 1/4] crypto: add eboiv as a crypto API template Gilad Ben-Yossef
2020-10-26 18:24 ` Eric Biggers
2020-10-26 18:26 ` Eric Biggers
2020-10-27 6:53 ` Gilad Ben-Yossef
2020-10-26 13:04 ` [PATCH 2/4] crypto: add eboiv(cbc(aes)) test vectors Gilad Ben-Yossef
2020-10-26 13:04 ` [PATCH 3/4] dm crypt: switch to EBOIV crypto API template Gilad Ben-Yossef
2020-10-26 17:52 ` Eric Biggers
2020-10-26 18:29 ` Milan Broz
2020-10-26 18:39 ` Eric Biggers
2020-10-26 18:41 ` Herbert Xu
2020-10-26 18:44 ` Herbert Xu
2020-10-28 11:41 ` Gilad Ben-Yossef
2020-10-29 3:54 ` Herbert Xu
2020-10-26 19:04 ` Milan Broz
2020-10-27 6:59 ` Gilad Ben-Yossef
2020-10-27 13:05 ` Milan Broz
2020-10-26 18:19 ` kernel test robot [this message]
2020-10-26 13:04 ` [PATCH 4/4] crypto: ccree: re-introduce ccree eboiv support Gilad Ben-Yossef
2020-10-26 21:47 ` 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=202010270238.SN3UOg7N-lkp@intel.com \
--to=lkp@intel.com \
--cc=agk@redhat.com \
--cc=davem@davemloft.net \
--cc=dm-devel@redhat.com \
--cc=gilad@benyossef.com \
--cc=herbert@gondor.apana.org.au \
--cc=kbuild-all@lists.01.org \
--cc=linux-crypto@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=ofir.drang@arm.com \
--cc=snitzer@redhat.com \
--cc=song@kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox