Re: [PATCH 2/4] dmi: Add a DMI firmware node and handling

From: kbuild test robot
Date: Fri Jan 29 2016 - 19:00:09 EST


Hi Corey,

[auto build test ERROR on char-misc/char-misc-testing]
[also build test ERROR on v4.5-rc1 next-20160129]
[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/minyard-acm-org/dmi-Rework-to-get-IPMI-autoloading-from-DMI-tables/20160130-074830
config: i386-tinyconfig (attached as .config)
reproduce:
# save the attached .config to linux build tree
make ARCH=i386

All errors (new ones prefixed by >>):

In file included from arch/x86/kernel/setup.c:46:0:
include/linux/dmi.h: In function 'is_dmi_fwnode':
>> include/linux/dmi.h:164:1: error: expected ';' before '}' token
}
^

vim +164 include/linux/dmi.h

158 static inline const struct dmi_system_id *
159 dmi_first_match(const struct dmi_system_id *list) { return NULL; }
160
161 static inline bool is_dmi_fwnode(struct fwnode_handle *fwnode)
162 {
163 return false
> 164 }
165
166 static inline struct dmi_fwnode *to_dmi_device(struct fwnode_handle *fwnode)
167 {

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

Attachment: .config.gz
Description: Binary data