Hi Arnd,
FYI, the error/warning still remains.
tree:
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head: 8ada228ac7ed08a2c5ce035089e858b103af09c4
commit: a7174f978563e112fcd8601c9f8b4a9ddef3388d [2573/4408] crypto: hisilicon - allow
compile-testing on x86
config: riscv-allyesconfig (attached as .config)
compiler: riscv64-linux-gcc (GCC) 7.4.0
reproduce:
wget
https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O
~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout a7174f978563e112fcd8601c9f8b4a9ddef3388d
# save the attached .config to linux build tree
GCC_VERSION=7.4.0 make.cross ARCH=riscv
If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
drivers/crypto/hisilicon/sgl.c: In function 'sg_map_to_hw_sg':
> drivers/crypto/hisilicon/sgl.c:122:21: error: 'struct
scatterlist' has no member named 'dma_length'; did you mean 'length'?
hw_sge->len = sgl->dma_length;
^~~~~~~~~~
length
vim +122 drivers/crypto/hisilicon/sgl.c
dfed0098ab91f6 Zhou Wang 2019-08-02 117
dfed0098ab91f6 Zhou Wang 2019-08-02 118 static void sg_map_to_hw_sg(struct scatterlist
*sgl,
dfed0098ab91f6 Zhou Wang 2019-08-02 119 struct acc_hw_sge *hw_sge)
dfed0098ab91f6 Zhou Wang 2019-08-02 120 {
dfed0098ab91f6 Zhou Wang 2019-08-02 121 hw_sge->buf = sgl->dma_address;
dfed0098ab91f6 Zhou Wang 2019-08-02 @122 hw_sge->len = sgl->dma_length;
dfed0098ab91f6 Zhou Wang 2019-08-02 123 }
dfed0098ab91f6 Zhou Wang 2019-08-02 124
:::::: The code at line 122 was first introduced by commit
:::::: dfed0098ab91f647b5720ab6f1e03b5b55139408 crypto: hisilicon - add hardware SGL
support
:::::: TO: Zhou Wang <wangzhou1(a)hisilicon.com>
:::::: CC: Herbert Xu <herbert(a)gondor.apana.org.au>
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation