Re: [PATCH v3 1/3] HID: rmi: Make hid-rmi a transport driver for synaptics-rmi4

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

 



Hi Andrew,

[auto build test ERROR on hid/for-next]
[also build test ERROR on v4.10-rc2 next-20170103]
[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/Benjamin-Tissoires/switch-hid-rmi-to-rmi_core/20170104-031049
base:   https://git.kernel.org/pub/scm/linux/kernel/git/jikos/hid.git for-next
config: tile-allyesconfig (attached as .config)
compiler: tilegx-linux-gcc (GCC) 4.6.2
reproduce:
        wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # save the attached .config to linux build tree
        make.cross ARCH=tile 

All errors (new ones prefixed by >>):

   drivers/hid/hid-rmi.c: In function 'rmi_input_event':
   drivers/hid/hid-rmi.c:325:2: error: implicit declaration of function 'rmi_set_attn_data'
>> drivers/hid/hid-rmi.c:327:2: error: implicit declaration of function 'generic_handle_irq'
   drivers/hid/hid-rmi.c: At top level:
   drivers/hid/hid-rmi.c:544:2: warning: braces around scalar initializer [enabled by default]
   drivers/hid/hid-rmi.c:544:2: warning: (near initialization for 'rmi_hid_pdata.sensor_pdata') [enabled by default]
   drivers/hid/hid-rmi.c:545:3: error: field name not in record or union initializer
   drivers/hid/hid-rmi.c:545:3: error: (near initialization for 'rmi_hid_pdata.sensor_pdata')
   drivers/hid/hid-rmi.c:545:3: warning: initialization makes pointer from integer without a cast [enabled by default]
   drivers/hid/hid-rmi.c:545:3: warning: (near initialization for 'rmi_hid_pdata.sensor_pdata') [enabled by default]
   drivers/hid/hid-rmi.c:546:3: error: field name not in record or union initializer
   drivers/hid/hid-rmi.c:546:3: error: (near initialization for 'rmi_hid_pdata.sensor_pdata')
   drivers/hid/hid-rmi.c:546:3: warning: excess elements in scalar initializer [enabled by default]
   drivers/hid/hid-rmi.c:546:3: warning: (near initialization for 'rmi_hid_pdata.sensor_pdata') [enabled by default]
   drivers/hid/hid-rmi.c:547:3: error: field name not in record or union initializer
   drivers/hid/hid-rmi.c:547:3: error: (near initialization for 'rmi_hid_pdata.sensor_pdata')
   drivers/hid/hid-rmi.c:547:14: error: 'RMI_REG_STATE_ON' undeclared here (not in a function)
   drivers/hid/hid-rmi.c:547:3: warning: excess elements in scalar initializer [enabled by default]
   drivers/hid/hid-rmi.c:547:3: warning: (near initialization for 'rmi_hid_pdata.sensor_pdata') [enabled by default]
   drivers/hid/hid-rmi.c:548:3: error: field name not in record or union initializer
   drivers/hid/hid-rmi.c:548:3: error: (near initialization for 'rmi_hid_pdata.sensor_pdata')
   drivers/hid/hid-rmi.c:548:18: error: 'RMI_REG_STATE_OFF' undeclared here (not in a function)
   drivers/hid/hid-rmi.c:548:3: warning: excess elements in scalar initializer [enabled by default]
   drivers/hid/hid-rmi.c:548:3: warning: (near initialization for 'rmi_hid_pdata.sensor_pdata') [enabled by default]
   drivers/hid/hid-rmi.c: In function 'rmi_irq_map':
>> drivers/hid/hid-rmi.c:576:2: error: implicit declaration of function 'irq_set_chip_and_handler'
>> drivers/hid/hid-rmi.c:576:34: error: 'dummy_irq_chip' undeclared (first use in this function)
   drivers/hid/hid-rmi.c:576:34: note: each undeclared identifier is reported only once for each function it appears in
>> drivers/hid/hid-rmi.c:576:50: error: 'handle_simple_irq' undeclared (first use in this function)
   drivers/hid/hid-rmi.c: In function 'rmi_probe':
   drivers/hid/hid-rmi.c:686:25: error: request for member 'disable' in something not a structure or union
   drivers/hid/hid-rmi.c:690:19: error: 'struct rmi_device_platform_data' has no member named 'irq'
   cc1: some warnings being treated as errors

vim +/generic_handle_irq +327 drivers/hid/hid-rmi.c

   319	
   320		if (!(test_bit(RMI_STARTED, &hdata->flags)))
   321			return 0;
   322	
   323		local_irq_save(flags);
   324	
 > 325		rmi_set_attn_data(rmi_dev, data[1], &data[2], size - 2);
   326	
 > 327		generic_handle_irq(hdata->rmi_irq);
   328	
   329		local_irq_restore(flags);
   330	

---
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]     [Linux Media Devel]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Linux Wireless Networking]     [Linux Omap]

  Powered by Linux