tree: https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git master head: eff9771d51529acf7f6f58a60b2923b98da28f0e commit: a7174f978563e112fcd8601c9f8b4a9ddef3388d [53/60] crypto: hisilicon - allow compile-testing on x86 config: riscv-allmodconfig (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@xxxxxxxxx> 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@xxxxxxxxxxxxx> :::::: CC: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx> --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation
Attachment:
.config.gz
Description: application/gzip