mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: kbuild test robot <lkp@intel.com>
To: bjorn.andersson@sonymobile.com
Cc: kbuild-all@01.org, Marcel Holtmann <marcel@holtmann.org>,
	Gustavo Padovan <gustavo@padovan.org>,
	Johan Hedberg <johan.hedberg@gmail.com>,
	"David S. Miller" <davem@davemloft.net>,
	Fengwei Yin <fengwei.yin@linaro.org>,
	Srinivas Kandagatla <srinivas.kandagatla@linaro.org>,
	linux-kernel@vger.kernel.org, linux-bluetooth@vger.kernel.org,
	linux-arm-msm@vger.kernel.org, netdev@vger.kernel.org
Subject: Re: [PATCH] Bluetooth: hci_smd: Qualcomm WCNSS HCI driver
Date: Thu, 1 Oct 2015 13:16:19 +0800	[thread overview]
Message-ID: <201510011307.F87zNqX2%fengguang.wu@intel.com> (raw)
In-Reply-To: <1443654180-29416-1-git-send-email-bjorn.andersson@sonymobile.com>

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

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

[-- Attachment #2: .config.gz --]
[-- Type: application/octet-stream, Size: 53722 bytes --]

  reply	other threads:[~2015-10-01  5:17 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-30 23:03 bjorn.andersson
2015-10-01  5:16 ` kbuild test robot [this message]
2015-10-01  6:54 ` Marcel Holtmann
2015-10-01 20:33   ` Bjorn Andersson
2015-10-03 16:55     ` Marcel Holtmann
2015-10-08 17:07       ` Bjorn Andersson
2015-10-08 17:28         ` Andy Gross

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=201510011307.F87zNqX2%fengguang.wu@intel.com \
    --to=lkp@intel.com \
    --cc=bjorn.andersson@sonymobile.com \
    --cc=davem@davemloft.net \
    --cc=fengwei.yin@linaro.org \
    --cc=gustavo@padovan.org \
    --cc=johan.hedberg@gmail.com \
    --cc=kbuild-all@01.org \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=linux-bluetooth@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=marcel@holtmann.org \
    --cc=netdev@vger.kernel.org \
    --cc=srinivas.kandagatla@linaro.org \
    /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

all inboxes | Powered by JetHome®