From: kbuild test robot <fengguang.wu@intel.com>
To: Wolfram Sang <wsa-dev@sang-engineering.com>
Cc: kbuild-all@01.org, linux-i2c@vger.kernel.org
Subject: [wsa:renesas/topic/rcar-i2c-recovery 3/33] drivers//i2c/i2c-core-base.c:137:9: error: implicit declaration of function 'gpiod_get_value_cansleep'
Date: Mon, 4 Dec 2017 19:23:03 +0800 [thread overview]
Message-ID: <201712041901.UvL9tr0v%fengguang.wu@intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 2822 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux.git renesas/topic/rcar-i2c-recovery
head: 3b8d1dbaefe52dfbecef1713d028e446c367d184
commit: 3991c5c80beaf7eb9bce61e0b2f8f449e351a38e [3/33] i2c: Switch to using gpiod interface for gpio bus recovery
config: ia64-generic_defconfig (attached as .config)
compiler: ia64-linux-gcc (GCC) 6.2.0
reproduce:
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout 3991c5c80beaf7eb9bce61e0b2f8f449e351a38e
# save the attached .config to linux build tree
make.cross ARCH=ia64
Note: the wsa/renesas/topic/rcar-i2c-recovery HEAD 3b8d1dbaefe52dfbecef1713d028e446c367d184 builds fine.
It only hurts bisectibility.
All errors (new ones prefixed by >>):
drivers//i2c/i2c-core-base.c: In function 'get_scl_gpio_value':
>> drivers//i2c/i2c-core-base.c:137:9: error: implicit declaration of function 'gpiod_get_value_cansleep' [-Werror=implicit-function-declaration]
return gpiod_get_value_cansleep(adap->bus_recovery_info->scl_gpiod);
^~~~~~~~~~~~~~~~~~~~~~~~
drivers//i2c/i2c-core-base.c: In function 'set_scl_gpio_value':
>> drivers//i2c/i2c-core-base.c:142:2: error: implicit declaration of function 'gpiod_set_value_cansleep' [-Werror=implicit-function-declaration]
gpiod_set_value_cansleep(adap->bus_recovery_info->scl_gpiod, val);
^~~~~~~~~~~~~~~~~~~~~~~~
drivers//i2c/i2c-core-base.c: In function 'i2c_get_gpios_for_recovery':
drivers//i2c/i2c-core-base.c:162:19: error: implicit declaration of function 'gpio_to_desc' [-Werror=implicit-function-declaration]
bri->scl_gpiod = gpio_to_desc(bri->scl_gpio);
^~~~~~~~~~~~
drivers//i2c/i2c-core-base.c:162:17: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
bri->scl_gpiod = gpio_to_desc(bri->scl_gpio);
^
drivers//i2c/i2c-core-base.c:171:18: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
bri->sda_gpiod = gpio_to_desc(bri->sda_gpio);
^
cc1: some warnings being treated as errors
vim +/gpiod_get_value_cansleep +137 drivers//i2c/i2c-core-base.c
133
134 /* i2c bus recovery routines */
135 static int get_scl_gpio_value(struct i2c_adapter *adap)
136 {
> 137 return gpiod_get_value_cansleep(adap->bus_recovery_info->scl_gpiod);
138 }
139
140 static void set_scl_gpio_value(struct i2c_adapter *adap, int val)
141 {
> 142 gpiod_set_value_cansleep(adap->bus_recovery_info->scl_gpiod, val);
143 }
144
---
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: 18935 bytes --]
reply other threads:[~2017-12-04 11:23 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=201712041901.UvL9tr0v%fengguang.wu@intel.com \
--to=fengguang.wu@intel.com \
--cc=kbuild-all@01.org \
--cc=linux-i2c@vger.kernel.org \
--cc=wsa-dev@sang-engineering.com \
/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).