lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <201701040445.wI4wS2pe%fengguang.wu@intel.com>
Date:   Wed, 4 Jan 2017 04:24:19 +0800
From:   kbuild test robot <lkp@...el.com>
To:     Benjamin Tissoires <benjamin.tissoires@...hat.com>
Cc:     kbuild-all@...org, Jiri Kosina <jikos@...nel.org>,
        Andrew Duggan <aduggan@...aptics.com>,
        Dennis Wassenberg <dennis.wassenberg@...unet.com>,
        Dmitry Torokhov <dmitry.torokhov@...il.com>,
        linux-input@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v3 1/3] HID: rmi: Make hid-rmi a transport driver for
 synaptics-rmi4

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

Download attachment ".config.gz" of type "application/gzip" (46959 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ