mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: kbuild test robot <lkp@intel.com>
To: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Cc: kbuild-all@01.org, Jiri Kosina <jikos@kernel.org>,
	Andrew Duggan <aduggan@synaptics.com>,
	Dennis Wassenberg <dennis.wassenberg@secunet.com>,
	Dmitry Torokhov <dmitry.torokhov@gmail.com>,
	linux-input@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH v3 1/3] HID: rmi: Make hid-rmi a transport driver for synaptics-rmi4
Date: Wed, 4 Jan 2017 04:24:19 +0800	[thread overview]
Message-ID: <201701040445.wI4wS2pe%fengguang.wu@intel.com> (raw)
In-Reply-To: <20170103151603.26844-2-benjamin.tissoires@redhat.com>

[-- Attachment #1: Type: text/plain, Size: 4339 bytes --]

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 #2: .config.gz --]
[-- Type: application/gzip, Size: 46959 bytes --]

  reply	other threads:[~2017-01-03 20:27 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-01-03 15:16 [PATCH v3 0/3] switch hid-rmi to rmi_core Benjamin Tissoires
2017-01-03 15:16 ` [PATCH v3 1/3] HID: rmi: Make hid-rmi a transport driver for synaptics-rmi4 Benjamin Tissoires
2017-01-03 20:24   ` kbuild test robot [this message]
2017-01-05  2:29   ` Andrew Duggan
2017-01-03 15:16 ` [PATCH v3 2/3] HID: rmi: Handle all Synaptics touchpads using hid-rmi Benjamin Tissoires
2017-01-03 15:16 ` [PATCH v3 3/3] HID: rmi: Support the Lenovo Thinkpad X1 Tablet dock " Benjamin Tissoires

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=201701040445.wI4wS2pe%fengguang.wu@intel.com \
    --to=lkp@intel.com \
    --cc=aduggan@synaptics.com \
    --cc=benjamin.tissoires@redhat.com \
    --cc=dennis.wassenberg@secunet.com \
    --cc=dmitry.torokhov@gmail.com \
    --cc=jikos@kernel.org \
    --cc=kbuild-all@01.org \
    --cc=linux-input@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®