* [plbossart-sound:sdw/remove-sdw-driver 3/14] drivers/soundwire/intel.c:2037:8: error: variable 'sdw_intel_link_ops' has initializer but incomplete type
@ 2020-04-09 23:32 kbuild test robot
0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2020-04-09 23:32 UTC (permalink / raw)
To: kbuild-all
[-- Attachment #1: Type: text/plain, Size: 5630 bytes --]
tree: https://github.com/plbossart/sound sdw/remove-sdw-driver
head: 6e3ae3193c4aa361e83097854ae3411cb5bdbdeb
commit: b56349159de823ef190dd796a4cce6002d833b8e [3/14] soundwire: drivers/soundwire/intel.c: use sdw_link_ops
config: i386-allyesconfig (attached as .config)
compiler: gcc-7 (Ubuntu 7.5.0-6ubuntu2) 7.5.0
reproduce:
git checkout b56349159de823ef190dd796a4cce6002d833b8e
# save the attached .config to linux build tree
make ARCH=i386
If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot <lkp@intel.com>
Note: the plbossart-sound/sdw/remove-sdw-driver HEAD 6e3ae3193c4aa361e83097854ae3411cb5bdbdeb builds fine.
It only hurts bisectibility.
All error/warnings (new ones prefixed by >>):
>> drivers/soundwire/intel.c:2037:8: error: variable 'sdw_intel_link_ops' has initializer but incomplete type
struct sdw_link_ops sdw_intel_link_ops = {
^~~~~~~~~~~~
>> drivers/soundwire/intel.c:2038:3: error: 'struct sdw_link_ops' has no member named 'driver'
.driver = &sdw_intel_driver,
^~~~~~
>> drivers/soundwire/intel.c:2038:12: warning: excess elements in struct initializer
.driver = &sdw_intel_driver,
^
drivers/soundwire/intel.c:2038:12: note: (near initialization for 'sdw_intel_link_ops')
>> drivers/soundwire/intel.c:2039:3: error: 'struct sdw_link_ops' has no member named 'add'
.add = intel_master_probe,
^~~
drivers/soundwire/intel.c:2039:9: warning: excess elements in struct initializer
.add = intel_master_probe,
^~~~~~~~~~~~~~~~~~
drivers/soundwire/intel.c:2039:9: note: (near initialization for 'sdw_intel_link_ops')
>> drivers/soundwire/intel.c:2040:3: error: 'struct sdw_link_ops' has no member named 'startup'
.startup = intel_master_startup,
^~~~~~~
drivers/soundwire/intel.c:2040:13: warning: excess elements in struct initializer
.startup = intel_master_startup,
^~~~~~~~~~~~~~~~~~~~
drivers/soundwire/intel.c:2040:13: note: (near initialization for 'sdw_intel_link_ops')
>> drivers/soundwire/intel.c:2041:3: error: 'struct sdw_link_ops' has no member named 'del'
.del = intel_master_remove,
^~~
drivers/soundwire/intel.c:2041:9: warning: excess elements in struct initializer
.del = intel_master_remove,
^~~~~~~~~~~~~~~~~~~
drivers/soundwire/intel.c:2041:9: note: (near initialization for 'sdw_intel_link_ops')
>> drivers/soundwire/intel.c:2042:3: error: 'struct sdw_link_ops' has no member named 'process_wake_event'
.process_wake_event = intel_master_process_wakeen_event,
^~~~~~~~~~~~~~~~~~
drivers/soundwire/intel.c:2042:24: warning: excess elements in struct initializer
.process_wake_event = intel_master_process_wakeen_event,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/soundwire/intel.c:2042:24: note: (near initialization for 'sdw_intel_link_ops')
In file included from include/linux/linkage.h:7:0,
from include/linux/kernel.h:8,
from include/linux/list.h:9,
from include/linux/kobject.h:19,
from include/linux/of.h:17,
from include/linux/irqdomain.h:35,
from include/linux/acpi.h:13,
from drivers/soundwire/intel.c:8:
>> drivers/soundwire/intel.c:2044:15: error: storage size of 'sdw_intel_link_ops' isn't known
EXPORT_SYMBOL(sdw_intel_link_ops);
^
include/linux/export.h:98:21: note: in definition of macro '___EXPORT_SYMBOL'
extern typeof(sym) sym; \
^~~
include/linux/export.h:155:34: note: in expansion of macro '__EXPORT_SYMBOL'
#define _EXPORT_SYMBOL(sym, sec) __EXPORT_SYMBOL(sym, sec, "")
^~~~~~~~~~~~~~~
include/linux/export.h:158:29: note: in expansion of macro '_EXPORT_SYMBOL'
#define EXPORT_SYMBOL(sym) _EXPORT_SYMBOL(sym, "")
^~~~~~~~~~~~~~
>> drivers/soundwire/intel.c:2044:1: note: in expansion of macro 'EXPORT_SYMBOL'
EXPORT_SYMBOL(sdw_intel_link_ops);
^~~~~~~~~~~~~
>> drivers/soundwire/intel.c:2044:15: error: storage size of 'sdw_intel_link_ops' isn't known
EXPORT_SYMBOL(sdw_intel_link_ops);
^
include/linux/export.h:98:21: note: in definition of macro '___EXPORT_SYMBOL'
extern typeof(sym) sym; \
^~~
include/linux/export.h:155:34: note: in expansion of macro '__EXPORT_SYMBOL'
#define _EXPORT_SYMBOL(sym, sec) __EXPORT_SYMBOL(sym, sec, "")
^~~~~~~~~~~~~~~
include/linux/export.h:158:29: note: in expansion of macro '_EXPORT_SYMBOL'
#define EXPORT_SYMBOL(sym) _EXPORT_SYMBOL(sym, "")
^~~~~~~~~~~~~~
>> drivers/soundwire/intel.c:2044:1: note: in expansion of macro 'EXPORT_SYMBOL'
EXPORT_SYMBOL(sdw_intel_link_ops);
^~~~~~~~~~~~~
vim +/sdw_intel_link_ops +2037 drivers/soundwire/intel.c
2036
> 2037 struct sdw_link_ops sdw_intel_link_ops = {
> 2038 .driver = &sdw_intel_driver,
> 2039 .add = intel_master_probe,
> 2040 .startup = intel_master_startup,
> 2041 .del = intel_master_remove,
> 2042 .process_wake_event = intel_master_process_wakeen_event,
2043 };
> 2044 EXPORT_SYMBOL(sdw_intel_link_ops);
2045
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org
[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 71794 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2020-04-09 23:32 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-09 23:32 [plbossart-sound:sdw/remove-sdw-driver 3/14] drivers/soundwire/intel.c:2037:8: error: variable 'sdw_intel_link_ops' has initializer but incomplete type kbuild test robot
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.