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

From: Corey Minyard
Date: Fri Jan 29 2016 - 20:36:06 EST

Dang, I've been doing too much Python. I've fixed this, but I guess I'll wait for more comments.


On 01/29/2016 05:59 PM, kbuild test robot wrote:
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]

config: i386-tinyconfig (attached as .config)
# 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; }
161 static inline bool is_dmi_fwnode(struct fwnode_handle *fwnode)
162 {
163 return false
> 164 }
166 static inline struct dmi_fwnode *to_dmi_device(struct fwnode_handle *fwnode)
167 {

0-DAY kernel test infrastructure Open Source Technology Center Intel Corporation