[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <201604111231.JOsx2OGx%fengguang.wu@intel.com>
Date: Mon, 11 Apr 2016 12:35:28 +0800
From: kbuild test robot <lkp@...el.com>
To: Tan Jui Nee <jui.nee.tan@...el.com>
Cc: kbuild-all@...org, mika.westerberg@...ux.intel.com,
heikki.krogerus@...ux.intel.com, andriy.shevchenko@...ux.intel.com,
tglx@...utronix.de, mingo@...hat.com, hpa@...or.com,
x86@...nel.org, ptyser@...-inc.com, lee.jones@...aro.org,
linux-gpio@...r.kernel.org, linux-kernel@...r.kernel.org,
jui.nee.tan@...el.com, jonathan.yong@...el.com,
ong.hock.yu@...el.com, weifeng.voon@...el.com,
wan.ahmad.zainie.wan.mohamad@...el.com
Subject: Re: [PATCH 3/3] mfd: lpc_ich: Add support for Intel Apollo Lake GPIO
pinctrl in non-ACPI system
Hi Tan,
[auto build test ERROR on tip/x86/core]
[also build test ERROR on v4.6-rc3 next-20160408]
[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/Tan-Jui-Nee/pinctrl-broxton-enable-platform-device-in-the-absent-of-ACPI-enumeration/20160411-105542
config: x86_64-randconfig-n0-04111131 (attached as .config)
reproduce:
# save the attached .config to linux build tree
make ARCH=x86_64
All error/warnings (new ones prefixed by >>):
drivers/mfd/lpc_ich.c:204:22: error: invalid application of 'sizeof' to incomplete type 'struct pinctrl_pin_desc'
.pdata_size = sizeof(apl_pinctrl_pdata),
^
drivers/mfd/lpc_ich.c: In function 'lpc_ich_misc':
drivers/mfd/lpc_ich.c:1146:4: error: invalid use of undefined type 'struct pinctrl_pin_desc'
apl_pinctrl_pdata.name = kasprintf(GFP_KERNEL, "%u",
^
drivers/mfd/lpc_ich.c:1148:4: error: invalid use of undefined type 'struct pinctrl_pin_desc'
if (apl_pinctrl_pdata.name)
^
drivers/mfd/lpc_ich.c:1148:4: error: invalid use of undefined type 'struct pinctrl_pin_desc'
In file included from include/linux/linkage.h:4:0,
from include/linux/kernel.h:6,
from drivers/mfd/lpc_ich.c:63:
>> include/linux/compiler.h:150:17: error: invalid use of undefined type 'struct pinctrl_pin_desc'
static struct ftrace_branch_data \
^
include/linux/compiler.h:145:23: note: in expansion of macro '__trace_if'
#define if(cond, ...) __trace_if( (cond , ## __VA_ARGS__) )
^
>> drivers/mfd/lpc_ich.c:1148:4: note: in expansion of macro 'if'
if (apl_pinctrl_pdata.name)
^
drivers/mfd/lpc_ich.c:1158:7: error: invalid use of undefined type 'struct pinctrl_pin_desc'
apl_pinctrl_pdata.name, ret);
^
drivers/mfd/lpc_ich.c:1160:4: error: invalid use of undefined type 'struct pinctrl_pin_desc'
kfree(apl_pinctrl_pdata.name);
^
vim +150 include/linux/compiler.h
2bcd521a Steven Rostedt 2008-11-21 144 */
ab3c9c68 Linus Torvalds 2009-04-07 145 #define if(cond, ...) __trace_if( (cond , ## __VA_ARGS__) )
ab3c9c68 Linus Torvalds 2009-04-07 146 #define __trace_if(cond) \
ab3c9c68 Linus Torvalds 2009-04-07 147 if (__builtin_constant_p((cond)) ? !!(cond) : \
2bcd521a Steven Rostedt 2008-11-21 148 ({ \
2bcd521a Steven Rostedt 2008-11-21 149 int ______r; \
2bcd521a Steven Rostedt 2008-11-21 @150 static struct ftrace_branch_data \
2bcd521a Steven Rostedt 2008-11-21 151 __attribute__((__aligned__(4))) \
2bcd521a Steven Rostedt 2008-11-21 152 __attribute__((section("_ftrace_branch"))) \
2bcd521a Steven Rostedt 2008-11-21 153 ______f = { \
:::::: The code at line 150 was first introduced by commit
:::::: 2bcd521a684cc94befbe2ce7d5b613c841b0d304 trace: profile all if conditionals
:::::: TO: Steven Rostedt <srostedt@...hat.com>
:::::: CC: Ingo Molnar <mingo@...e.hu>
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
Download attachment ".config.gz" of type "application/octet-stream" (29581 bytes)
Powered by blists - more mailing lists