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]
Date:	Thu, 1 Oct 2015 13:16:19 +0800
From:	kbuild test robot <lkp@...el.com>
To:	bjorn.andersson@...ymobile.com
Cc:	kbuild-all@...org, Marcel Holtmann <marcel@...tmann.org>,
	Gustavo Padovan <gustavo@...ovan.org>,
	Johan Hedberg <johan.hedberg@...il.com>,
	"David S. Miller" <davem@...emloft.net>,
	Fengwei Yin <fengwei.yin@...aro.org>,
	Srinivas Kandagatla <srinivas.kandagatla@...aro.org>,
	linux-kernel@...r.kernel.org, linux-bluetooth@...r.kernel.org,
	linux-arm-msm@...r.kernel.org, netdev@...r.kernel.org
Subject: Re: [PATCH] Bluetooth: hci_smd: Qualcomm WCNSS HCI driver

Hi Bjorn,

[auto build test results on v4.3-rc3 -- if it's inappropriate base, please ignore]

config: arm-allmodconfig (attached as .config)
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
        git checkout a380238e176a2641aa74bac37f4e735fcec4d854
        # save the attached .config to linux build tree
        make.cross ARCH=arm 

All error/warnings (new ones prefixed by >>):

>> drivers/bluetooth/hci_smd.c:186:33: error: array type has incomplete element type
    static const struct qcom_smd_id smd_hci_acl_match[] = {
                                    ^
>> drivers/bluetooth/hci_smd.c:187:2: error: field name not in record or union initializer
     { .name = "APPS_RIVA_BT_ACL" },
     ^
   drivers/bluetooth/hci_smd.c:187:2: error: (near initialization for 'smd_hci_acl_match')
   drivers/bluetooth/hci_smd.c:191:33: error: array type has incomplete element type
    static const struct qcom_smd_id smd_hci_cmd_match[] = {
                                    ^
   drivers/bluetooth/hci_smd.c:192:2: error: field name not in record or union initializer
     { .name = "APPS_RIVA_BT_CMD" },
     ^
   drivers/bluetooth/hci_smd.c:192:2: error: (near initialization for 'smd_hci_cmd_match')
>> drivers/bluetooth/hci_smd.c:200:2: error: unknown field 'smd_match_table' specified in initializer
     .smd_match_table = smd_hci_acl_match,
     ^
>> drivers/bluetooth/hci_smd.c:200:2: warning: excess elements in struct initializer
>> drivers/bluetooth/hci_smd.c:200:2: warning: (near initialization for 'smd_hci_acl_driver')
   drivers/bluetooth/hci_smd.c:211:2: error: unknown field 'smd_match_table' specified in initializer
     .smd_match_table = smd_hci_cmd_match,
     ^
   drivers/bluetooth/hci_smd.c:211:2: warning: excess elements in struct initializer
>> drivers/bluetooth/hci_smd.c:211:2: warning: (near initialization for 'smd_hci_cmd_driver')
   In file included from drivers/bluetooth/hci_smd.c:14:0:
>> include/linux/module.h:128:27: error: redefinition of '__inittest'
     static inline initcall_t __inittest(void)  \
                              ^
>> include/linux/device.h:1321:1: note: in expansion of macro 'module_init'
    module_init(__driver##_init); \
    ^
>> include/linux/soc/qcom/smd.h:41:2: note: in expansion of macro 'module_driver'
     module_driver(__smd_driver, qcom_smd_driver_register, \
     ^
>> drivers/bluetooth/hci_smd.c:219:1: note: in expansion of macro 'module_qcom_smd_driver'
    module_qcom_smd_driver(smd_hci_cmd_driver);
    ^
   include/linux/module.h:128:27: note: previous definition of '__inittest' was here
     static inline initcall_t __inittest(void)  \
                              ^
>> include/linux/device.h:1321:1: note: in expansion of macro 'module_init'
    module_init(__driver##_init); \
    ^
>> include/linux/soc/qcom/smd.h:41:2: note: in expansion of macro 'module_driver'
     module_driver(__smd_driver, qcom_smd_driver_register, \
     ^
   drivers/bluetooth/hci_smd.c:218:1: note: in expansion of macro 'module_qcom_smd_driver'
    module_qcom_smd_driver(smd_hci_acl_driver);
    ^
>> include/linux/module.h:130:6: error: redefinition of 'init_module'
     int init_module(void) __attribute__((alias(#initfn)));
         ^
>> include/linux/device.h:1321:1: note: in expansion of macro 'module_init'
    module_init(__driver##_init); \
    ^
>> include/linux/soc/qcom/smd.h:41:2: note: in expansion of macro 'module_driver'
     module_driver(__smd_driver, qcom_smd_driver_register, \
     ^
>> drivers/bluetooth/hci_smd.c:219:1: note: in expansion of macro 'module_qcom_smd_driver'
    module_qcom_smd_driver(smd_hci_cmd_driver);
    ^
   include/linux/module.h:130:6: note: previous definition of 'init_module' was here
     int init_module(void) __attribute__((alias(#initfn)));
         ^
>> include/linux/device.h:1321:1: note: in expansion of macro 'module_init'
    module_init(__driver##_init); \
    ^
>> include/linux/soc/qcom/smd.h:41:2: note: in expansion of macro 'module_driver'
     module_driver(__smd_driver, qcom_smd_driver_register, \
     ^
   drivers/bluetooth/hci_smd.c:218:1: note: in expansion of macro 'module_qcom_smd_driver'
    module_qcom_smd_driver(smd_hci_acl_driver);
    ^
>> include/linux/module.h:134:27: error: redefinition of '__exittest'
     static inline exitcall_t __exittest(void)  \
                              ^
>> include/linux/device.h:1326:1: note: in expansion of macro 'module_exit'
    module_exit(__driver##_exit);
    ^

vim +186 drivers/bluetooth/hci_smd.c

   180	static void smd_hci_cmd_remove(struct qcom_smd_device *sdev)
   181	{
   182		smd_hci.cmd_channel = NULL;
   183		smd_hci_unregister();
   184	}
   185	
 > 186	static const struct qcom_smd_id smd_hci_acl_match[] = {
 > 187		{ .name = "APPS_RIVA_BT_ACL" },
   188		{}
   189	};
   190	
 > 191	static const struct qcom_smd_id smd_hci_cmd_match[] = {
 > 192		{ .name = "APPS_RIVA_BT_CMD" },
   193		{}
   194	};
   195	
   196	static struct qcom_smd_driver smd_hci_acl_driver = {
   197		.probe = smd_hci_acl_probe,
   198		.remove = smd_hci_acl_remove,
   199		.callback = smd_hci_acl_callback,
 > 200		.smd_match_table = smd_hci_acl_match,
   201		.driver  = {
   202			.name  = "qcom_smd_hci_acl",
   203			.owner = THIS_MODULE,
   204		},
   205	};
   206	
   207	static struct qcom_smd_driver smd_hci_cmd_driver = {
   208		.probe = smd_hci_cmd_probe,
   209		.remove = smd_hci_cmd_remove,
   210		.callback = smd_hci_cmd_callback,
 > 211		.smd_match_table = smd_hci_cmd_match,
   212		.driver  = {
   213			.name  = "qcom_smd_hci_cmd",
   214			.owner = THIS_MODULE,
   215		},
   216	};
   217	
 > 218	module_qcom_smd_driver(smd_hci_acl_driver);
 > 219	module_qcom_smd_driver(smd_hci_cmd_driver);
   220	
   221	MODULE_DESCRIPTION("Qualcomm SMD HCI driver");
   222	MODULE_LICENSE("GPL v2");

---
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/octet-stream" (53722 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ