lkml.org 
[lkml]   [2016]   [Dec]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v5 1/6] [media] rc-main: assign driver type during allocation
Hi Andi,

[auto build test ERROR on linuxtv-media/master]
[cannot apply to v4.9 next-20161215]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]

url: https://github.com/0day-ci/linux/commits/Andi-Shyti/Add-support-for-IR-transmitters/20161216-144204
base: git://linuxtv.org/media_tree.git master
config: x86_64-randconfig-x000-201650 (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
reproduce:
# save the attached .config to linux build tree
make ARCH=x86_64

All errors (new ones prefixed by >>):

drivers/media/cec/cec-core.c: In function 'cec_allocate_adapter':
>> drivers/media/cec/cec-core.c:262:25: error: 'parent' undeclared (first use in this function)
adap->rc->dev.parent = parent;
^~~~~~
drivers/media/cec/cec-core.c:262:25: note: each undeclared identifier is reported only once for each function it appears in

vim +/parent +262 drivers/media/cec/cec-core.c

256 adap->rc->input_name = adap->input_name;
257 adap->rc->input_phys = adap->input_phys;
258 adap->rc->input_id.bustype = BUS_CEC;
259 adap->rc->input_id.vendor = 0;
260 adap->rc->input_id.product = 0;
261 adap->rc->input_id.version = 1;
> 262 adap->rc->dev.parent = parent;
263 adap->rc->driver_name = CEC_NAME;
264 adap->rc->allowed_protocols = RC_BIT_CEC;
265 adap->rc->priv = adap;

---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
[unhandled content-type:application/gzip]
\
 
 \ /
  Last update: 2016-12-16 08:55    [W:0.305 / U:0.140 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site