lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <201611282337.Z6RGmXfk%fengguang.wu@intel.com>
Date:   Tue, 29 Nov 2016 00:02:18 +0800
From:   kbuild test robot <lkp@...el.com>
To:     Gonglei <arei.gonglei@...wei.com>
Cc:     kbuild-all@...org, linux-kernel@...r.kernel.org,
        qemu-devel@...gnu.org, virtio-dev@...ts.oasis-open.org,
        virtualization@...ts.linux-foundation.org,
        linux-crypto@...r.kernel.org, luonengjun@...wei.com,
        mst@...hat.com, stefanha@...hat.com, weidong.huang@...wei.com,
        wu.wubin@...wei.com, xin.zeng@...el.com,
        claudio.fontana@...wei.com, herbert@...dor.apana.org.au,
        pasic@...ux.vnet.ibm.com, davem@...emloft.net,
        jianjay.zhou@...wei.com, hanweidong@...wei.com,
        arei.gonglei@...mail.com, cornelia.huck@...ibm.com,
        xuquan8@...wei.com, longpeng2@...wei.com,
        salvatore.benedetto@...el.com, Gonglei <arei.gonglei@...wei.com>
Subject: Re: [PATCH v3] crypto: add virtio-crypto driver

Hi Gonglei,

[auto build test ERROR on cryptodev/master]
[also build test ERROR on v4.9-rc7 next-20161128]
[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/20161128-214706
base:   https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git master
config: sparc-allmodconfig (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=sparc 

All error/warnings (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:118: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:118: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 +/topology_physical_package_id +118 drivers/crypto/virtio/virtio_crypto_common.h

   102	};
   103	
   104	int virtcrypto_devmgr_add_dev(struct virtio_crypto *vcrypto_dev);
   105	struct list_head *virtcrypto_devmgr_get_head(void);
   106	void virtcrypto_devmgr_rm_dev(struct virtio_crypto *vcrypto_dev);
   107	struct virtio_crypto *virtcrypto_devmgr_get_first(void);
   108	int virtcrypto_dev_in_use(struct virtio_crypto *vcrypto_dev);
   109	int virtcrypto_dev_get(struct virtio_crypto *vcrypto_dev);
   110	void virtcrypto_dev_put(struct virtio_crypto *vcrypto_dev);
   111	int virtcrypto_dev_started(struct virtio_crypto *vcrypto_dev);
   112	struct virtio_crypto *virtcrypto_get_dev_node(int node);
   113	int virtcrypto_dev_start(struct virtio_crypto *vcrypto);
   114	void virtcrypto_dev_stop(struct virtio_crypto *vcrypto);
   115	
   116	static inline int virtio_crypto_get_current_node(void)
   117	{
 > 118		return topology_physical_package_id(smp_processor_id());
   119	}
   120	
   121	int virtio_crypto_algs_register(void);
   122	void virtio_crypto_algs_unregister(void);
   123	
   124	#endif /* _VIRITO_CRYPTO_COMMON_H */

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

Download attachment ".config.gz" of type "application/gzip" (47776 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ