linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: kbuild test robot <fengguang.wu@intel.com>
To: "João Paulo Rechi Vita" <jprvita@gmail.com>
Cc: kbuild-all@01.org, linux-input@vger.kernel.org,
	linux-usb@vger.kernel.org, Jiri Kosina <jkosina@suse.cz>,
	Benjamin Tissoires <benjamin.tissoires@redhat.com>
Subject: [hid:for-4.10/i2c-hid 7/8] drivers/hid/i2c-hid/i2c-hid.c:772:19: error: 'struct i2c_hid' has no member named 'irq'
Date: Sun, 11 Dec 2016 04:31:56 +0800	[thread overview]
Message-ID: <201612110449.vUI7nclV%fengguang.wu@intel.com> (raw)

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

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/jikos/hid.git for-4.10/i2c-hid
head:   d4c9be33182718e3dbdd5834a415899949187a5b
commit: de3c99488609284e454cf2b4420a789038a4cfa8 [7/8] HID: i2c-hid: Disable IRQ before freeing buffers
config: x86_64-rhel (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
reproduce:
        git checkout de3c99488609284e454cf2b4420a789038a4cfa8
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All errors (new ones prefixed by >>):

   drivers/hid/i2c-hid/i2c-hid.c: In function 'i2c_hid_start':
>> drivers/hid/i2c-hid/i2c-hid.c:772:19: error: 'struct i2c_hid' has no member named 'irq'
      disable_irq(ihid->irq);
                      ^~
   drivers/hid/i2c-hid/i2c-hid.c:776:18: error: 'struct i2c_hid' has no member named 'irq'
      enable_irq(ihid->irq);
                     ^~
   drivers/hid/i2c-hid/i2c-hid.c: In function 'i2c_hid_probe':
   drivers/hid/i2c-hid/i2c-hid.c:1050:23: error: implicit declaration of function 'devm_regulator_get' [-Werror=implicit-function-declaration]
     ihid->pdata.supply = devm_regulator_get(&client->dev, "vdd");
                          ^~~~~~~~~~~~~~~~~~
   drivers/hid/i2c-hid/i2c-hid.c:1050:21: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
     ihid->pdata.supply = devm_regulator_get(&client->dev, "vdd");
                        ^
   drivers/hid/i2c-hid/i2c-hid.c:1059:8: error: implicit declaration of function 'regulator_enable' [-Werror=implicit-function-declaration]
     ret = regulator_enable(ihid->pdata.supply);
           ^~~~~~~~~~~~~~~~
   drivers/hid/i2c-hid/i2c-hid.c:1141:2: error: implicit declaration of function 'regulator_disable' [-Werror=implicit-function-declaration]
     regulator_disable(ihid->pdata.supply);
     ^~~~~~~~~~~~~~~~~
   cc1: some warnings being treated as errors

vim +772 drivers/hid/i2c-hid/i2c-hid.c

   766	
   767		i2c_hid_find_max_report(hid, HID_INPUT_REPORT, &bufsize);
   768		i2c_hid_find_max_report(hid, HID_OUTPUT_REPORT, &bufsize);
   769		i2c_hid_find_max_report(hid, HID_FEATURE_REPORT, &bufsize);
   770	
   771		if (bufsize > ihid->bufsize) {
 > 772			disable_irq(ihid->irq);
   773			i2c_hid_free_buffers(ihid);
   774	
   775			ret = i2c_hid_alloc_buffers(ihid, bufsize);

---
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: 37818 bytes --]

             reply	other threads:[~2016-12-10 20:32 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-12-10 20:31 kbuild test robot [this message]
2016-12-10 21:06 ` [hid:for-4.10/i2c-hid 7/8] drivers/hid/i2c-hid/i2c-hid.c:772:19: error: 'struct i2c_hid' has no member named 'irq' Benjamin Tissoires
2016-12-12  8:50   ` Jiri Kosina

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=201612110449.vUI7nclV%fengguang.wu@intel.com \
    --to=fengguang.wu@intel.com \
    --cc=benjamin.tissoires@redhat.com \
    --cc=jkosina@suse.cz \
    --cc=jprvita@gmail.com \
    --cc=kbuild-all@01.org \
    --cc=linux-input@vger.kernel.org \
    --cc=linux-usb@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;
as well as URLs for NNTP newsgroup(s).