linux-crypto.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [cryptodev:master 53/60] drivers/crypto/hisilicon/sgl.c:122:21: error: 'struct scatterlist' has no member named 'dma_length'; did you mean 'length'?
@ 2019-10-05 19:59 kbuild test robot
  0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2019-10-05 19:59 UTC (permalink / raw)
  To: Arnd Bergmann; +Cc: kbuild-all, linux-crypto, Herbert Xu

[-- Attachment #1: Type: text/plain, Size: 2031 bytes --]

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@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@hisilicon.com>
:::::: CC: Herbert Xu <herbert@gondor.apana.org.au>

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 60008 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2019-10-05 19:59 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-05 19:59 [cryptodev:master 53/60] drivers/crypto/hisilicon/sgl.c:122:21: error: 'struct scatterlist' has no member named 'dma_length'; did you mean 'length'? kbuild test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).