Re: [PATCH 1/2] mcb: Correctly initialize the bus's device

From: kbuild test robot
Date: Fri Mar 18 2016 - 10:05:30 EST


Hi Johannes,

[auto build test ERROR on v4.5-rc7]
[also build test ERROR on next-20160318]
[if your patch is applied to the wrong git tree, please drop us a note to help improving the system]

url: https://github.com/0day-ci/linux/commits/Johannes-Thumshirn/mcb-export-FPGA-information-via-sysfs/20160318-215254
config: x86_64-randconfig-x001-201611 (attached as .config)
reproduce:
# save the attached .config to linux build tree
make ARCH=x86_64

Note: the linux-review/Johannes-Thumshirn/mcb-export-FPGA-information-via-sysfs/20160318-215254 HEAD c6d1aabc2067586d00c2b367c36e8b0df9a151ce builds fine.
It only hurts bisectibility.

All errors (new ones prefixed by >>):

drivers/mcb/mcb-core.c: In function 'mcb_alloc_bus':
>> drivers/mcb/mcb-core.c:208:19: error: 'mcb_carrier_device_type' undeclared (first use in this function)
bus->dev.type = &mcb_carrier_device_type;
^
drivers/mcb/mcb-core.c:208:19: note: each undeclared identifier is reported only once for each function it appears in

vim +/mcb_carrier_device_type +208 drivers/mcb/mcb-core.c

202 bus->bus_nr = bus_nr;
203 bus->carrier = carrier;
204
205 device_initialize(&bus->dev);
206 bus->dev.parent = carrier;
207 bus->dev.bus = &mcb_bus_type;
> 208 bus->dev.type = &mcb_carrier_device_type;
209
210 dev_set_name(&bus->dev, "mcb:%d", bus_nr);
211 rc = device_add(&bus->dev);

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

Attachment: .config.gz
Description: Binary data