qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: kbuild test robot <lkp@intel.com>
To: Gonglei <arei.gonglei@huawei.com>
Cc: kbuild-all@01.org, linux-kernel@vger.kernel.org,
	qemu-devel@nongnu.org, virtio-dev@lists.oasis-open.org,
	virtualization@lists.linux-foundation.org,
	linux-crypto@vger.kernel.org, luonengjun@huawei.com,
	mst@redhat.com, stefanha@redhat.com, weidong.huang@huawei.com,
	wu.wubin@huawei.com, xin.zeng@intel.com,
	claudio.fontana@huawei.com, herbert@gondor.apana.org.au,
	pasic@linux.vnet.ibm.com, davem@davemloft.net,
	jianjay.zhou@huawei.com, hanweidong@huawei.com,
	arei.gonglei@hotmail.com, cornelia.huck@de.ibm.com,
	xuquan8@huawei.com, longpeng2@huawei.com, wanzongshun@huawei.com
Subject: Re: [Qemu-devel] [PATCH v5 1/1] crypto: add virtio-crypto driver
Date: Sun, 4 Dec 2016 10:39:38 +0800	[thread overview]
Message-ID: <201612041032.loAEWLIy%fengguang.wu@intel.com> (raw)
In-Reply-To: <1480595945-63656-2-git-send-email-arei.gonglei@huawei.com>

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

Hi Gonglei,

[auto build test ERROR on cryptodev/master]
[also build test ERROR on v4.9-rc7 next-20161202]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]

url:    https://github.com/0day-ci/linux/commits/Gonglei/crypto-add-virtio-crypto-driver/20161202-190424
base:   https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git master
config: sparc64-allyesconfig (attached as .config)
compiler: sparc64-linux-gnu-gcc (Debian 6.1.1-9) 6.1.1 20160705
reproduce:
        wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # save the attached .config to linux build tree
        make.cross ARCH=sparc64 

All errors (new ones prefixed by >>):

   In file included from arch/sparc/include/asm/topology.h:4:0,
                    from include/linux/topology.h:35,
                    from include/linux/gfp.h:8,
                    from include/linux/kmod.h:22,
                    from include/linux/module.h:13,
                    from drivers/crypto/virtio/virtio_crypto_mgr.c:21:
   drivers/crypto/virtio/virtio_crypto_common.h: In function 'virtio_crypto_get_current_node':
>> arch/sparc/include/asm/topology_64.h:44:44: error: implicit declaration of function 'cpu_data' [-Werror=implicit-function-declaration]
    #define topology_physical_package_id(cpu) (cpu_data(cpu).proc_id)
                                               ^
   drivers/crypto/virtio/virtio_crypto_common.h:116:9: note: in expansion of macro 'topology_physical_package_id'
     return topology_physical_package_id(smp_processor_id());
            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
>> arch/sparc/include/asm/topology_64.h:44:57: error: request for member 'proc_id' in something not a structure or union
    #define topology_physical_package_id(cpu) (cpu_data(cpu).proc_id)
                                                            ^
   drivers/crypto/virtio/virtio_crypto_common.h:116:9: note: in expansion of macro 'topology_physical_package_id'
     return topology_physical_package_id(smp_processor_id());
            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
   cc1: some warnings being treated as errors

vim +/cpu_data +44 arch/sparc/include/asm/topology_64.h

f5e706ad include/asm-sparc/topology_64.h      Sam Ravnborg        2008-07-17  28  
9d079337 arch/sparc/include/asm/topology_64.h David Miller        2009-01-11  29  #define cpumask_of_pcibus(bus)	\
9d079337 arch/sparc/include/asm/topology_64.h David Miller        2009-01-11  30  	(pcibus_to_node(bus) == -1 ? \
e9b37512 arch/sparc/include/asm/topology_64.h Rusty Russell       2009-03-16  31  	 cpu_all_mask : \
9d079337 arch/sparc/include/asm/topology_64.h David Miller        2009-01-11  32  	 cpumask_of_node(pcibus_to_node(bus)))
f5e706ad include/asm-sparc/topology_64.h      Sam Ravnborg        2008-07-17  33  
52708d69 arch/sparc/include/asm/topology_64.h Nitin Gupta         2015-11-02  34  int __node_distance(int, int);
52708d69 arch/sparc/include/asm/topology_64.h Nitin Gupta         2015-11-02  35  #define node_distance(a, b) __node_distance(a, b)
52708d69 arch/sparc/include/asm/topology_64.h Nitin Gupta         2015-11-02  36  
f5e706ad include/asm-sparc/topology_64.h      Sam Ravnborg        2008-07-17  37  #else /* CONFIG_NUMA */
f5e706ad include/asm-sparc/topology_64.h      Sam Ravnborg        2008-07-17  38  
f5e706ad include/asm-sparc/topology_64.h      Sam Ravnborg        2008-07-17  39  #include <asm-generic/topology.h>
f5e706ad include/asm-sparc/topology_64.h      Sam Ravnborg        2008-07-17  40  
f5e706ad include/asm-sparc/topology_64.h      Sam Ravnborg        2008-07-17  41  #endif /* !(CONFIG_NUMA) */
f5e706ad include/asm-sparc/topology_64.h      Sam Ravnborg        2008-07-17  42  
f5e706ad include/asm-sparc/topology_64.h      Sam Ravnborg        2008-07-17  43  #ifdef CONFIG_SMP
f5e706ad include/asm-sparc/topology_64.h      Sam Ravnborg        2008-07-17 @44  #define topology_physical_package_id(cpu)	(cpu_data(cpu).proc_id)
f5e706ad include/asm-sparc/topology_64.h      Sam Ravnborg        2008-07-17  45  #define topology_core_id(cpu)			(cpu_data(cpu).core_id)
acc455cf arch/sparc/include/asm/topology_64.h chris hyser         2015-04-22  46  #define topology_core_cpumask(cpu)		(&cpu_core_sib_map[cpu])
06931e62 arch/sparc/include/asm/topology_64.h Bartosz Golaszewski 2015-05-26  47  #define topology_sibling_cpumask(cpu)		(&per_cpu(cpu_sibling_map, cpu))
f5e706ad include/asm-sparc/topology_64.h      Sam Ravnborg        2008-07-17  48  #endif /* CONFIG_SMP */
f5e706ad include/asm-sparc/topology_64.h      Sam Ravnborg        2008-07-17  49  
3905c54f arch/sparc/include/asm/topology_64.h Stephen Rothwell    2011-04-12  50  extern cpumask_t cpu_core_map[NR_CPUS];
acc455cf arch/sparc/include/asm/topology_64.h chris hyser         2015-04-22  51  extern cpumask_t cpu_core_sib_map[NR_CPUS];
3905c54f arch/sparc/include/asm/topology_64.h Stephen Rothwell    2011-04-12  52  static inline const struct cpumask *cpu_coregroup_mask(int cpu)

:::::: The code at line 44 was first introduced by commit
:::::: f5e706ad886b6a5eb59637830110b09ccebf01c5 sparc: join the remaining header files

:::::: TO: Sam Ravnborg <sam@ravnborg.org>
:::::: CC: David S. Miller <davem@davemloft.net>

---
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: 47988 bytes --]

  reply	other threads:[~2016-12-04  2:40 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-12-01 12:39 [Qemu-devel] [PATCH v5 0/1] virtio-crypto: add Linux driver Gonglei
2016-12-01 12:39 ` [Qemu-devel] [PATCH v5 1/1] crypto: add virtio-crypto driver Gonglei
2016-12-04  2:39   ` kbuild test robot [this message]
2016-12-05  3:12     ` Gonglei (Arei)
2016-12-07 20:20       ` Sam Ravnborg
2016-12-08  2:10         ` Gonglei (Arei)
2016-12-06  9:01   ` Gonglei (Arei)
2016-12-07  9:48     ` Herbert Xu
2016-12-08  2:00       ` Gonglei (Arei)

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=201612041032.loAEWLIy%fengguang.wu@intel.com \
    --to=lkp@intel.com \
    --cc=arei.gonglei@hotmail.com \
    --cc=arei.gonglei@huawei.com \
    --cc=claudio.fontana@huawei.com \
    --cc=cornelia.huck@de.ibm.com \
    --cc=davem@davemloft.net \
    --cc=hanweidong@huawei.com \
    --cc=herbert@gondor.apana.org.au \
    --cc=jianjay.zhou@huawei.com \
    --cc=kbuild-all@01.org \
    --cc=linux-crypto@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=longpeng2@huawei.com \
    --cc=luonengjun@huawei.com \
    --cc=mst@redhat.com \
    --cc=pasic@linux.vnet.ibm.com \
    --cc=qemu-devel@nongnu.org \
    --cc=stefanha@redhat.com \
    --cc=virtio-dev@lists.oasis-open.org \
    --cc=virtualization@lists.linux-foundation.org \
    --cc=wanzongshun@huawei.com \
    --cc=weidong.huang@huawei.com \
    --cc=wu.wubin@huawei.com \
    --cc=xin.zeng@intel.com \
    --cc=xuquan8@huawei.com \
    /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;
as well as URLs for NNTP newsgroup(s).