Re: [PATCH v5 1/6] [media] rc-main: assign driver type during allocation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




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

Attachment: .config.gz
Description: application/gzip


[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]
  Powered by Linux