From: kbuild test robot <lkp@intel.com>
To: Linus Walleij <linus.walleij@linaro.org>
Cc: kbuild-all@01.org, linux-gpio@vger.kernel.org
Subject: [gpio:devel-gpio-driver-isolation 10/14] arch/arm/plat-orion/gpio.c:316:3: error: implicit declaration of function 'gpio_set_value'; did you mean 'gpiod_set_value'?
Date: Thu, 8 Aug 2019 12:35:10 +0800 [thread overview]
Message-ID: <201908081246.aBYx7jVr%lkp@intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 3336 bytes --]
tree: https://kernel.googlesource.com/pub/scm/linux/kernel/git/linusw/linux-gpio.git devel-gpio-driver-isolation
head: e1db9bf671ed01b4f9fc33bbaa57d0c493c0389f
commit: 63aeaf4945d628653770b05655b0aed90ec1ae51 [10/14] ARM: plat-orion: Include the right header
config: arm-multi_v5_defconfig (attached as .config)
compiler: arm-linux-gnueabi-gcc (GCC) 7.4.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 63aeaf4945d628653770b05655b0aed90ec1ae51
# save the attached .config to linux build tree
GCC_VERSION=7.4.0 make.cross ARCH=arm
If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
arch/arm/plat-orion/gpio.c: In function 'orion_gpio_led_blink_set':
>> arch/arm/plat-orion/gpio.c:316:3: error: implicit declaration of function 'gpio_set_value'; did you mean 'gpiod_set_value'? [-Werror=implicit-function-declaration]
gpio_set_value(gpio, state);
^~~~~~~~~~~~~~
gpiod_set_value
cc1: some warnings being treated as errors
vim +316 arch/arm/plat-orion/gpio.c
ff3e660b5a881b Arnaud Patard 2012-04-18 303
c673a2b4008103 Mika Westerberg 2014-10-31 304 int orion_gpio_led_blink_set(struct gpio_desc *desc, int state,
ff3e660b5a881b Arnaud Patard 2012-04-18 305 unsigned long *delay_on, unsigned long *delay_off)
ff3e660b5a881b Arnaud Patard 2012-04-18 306 {
c673a2b4008103 Mika Westerberg 2014-10-31 307 unsigned gpio = desc_to_gpio(desc);
ff3e660b5a881b Arnaud Patard 2012-04-18 308
ff3e660b5a881b Arnaud Patard 2012-04-18 309 if (delay_on && delay_off && !*delay_on && !*delay_off)
ff3e660b5a881b Arnaud Patard 2012-04-18 310 *delay_on = *delay_off = ORION_BLINK_HALF_PERIOD;
ff3e660b5a881b Arnaud Patard 2012-04-18 311
ff3e660b5a881b Arnaud Patard 2012-04-18 312 switch (state) {
ff3e660b5a881b Arnaud Patard 2012-04-18 313 case GPIO_LED_NO_BLINK_LOW:
ff3e660b5a881b Arnaud Patard 2012-04-18 314 case GPIO_LED_NO_BLINK_HIGH:
ff3e660b5a881b Arnaud Patard 2012-04-18 315 orion_gpio_set_blink(gpio, 0);
ff3e660b5a881b Arnaud Patard 2012-04-18 @316 gpio_set_value(gpio, state);
ff3e660b5a881b Arnaud Patard 2012-04-18 317 break;
ff3e660b5a881b Arnaud Patard 2012-04-18 318 case GPIO_LED_BLINK:
ff3e660b5a881b Arnaud Patard 2012-04-18 319 orion_gpio_set_blink(gpio, 1);
ff3e660b5a881b Arnaud Patard 2012-04-18 320 }
ff3e660b5a881b Arnaud Patard 2012-04-18 321 return 0;
ff3e660b5a881b Arnaud Patard 2012-04-18 322 }
ff3e660b5a881b Arnaud Patard 2012-04-18 323 EXPORT_SYMBOL_GPL(orion_gpio_led_blink_set);
ff3e660b5a881b Arnaud Patard 2012-04-18 324
07332318f33da6 Lennert Buytenhek 2008-10-20 325
:::::: The code at line 316 was first introduced by commit
:::::: ff3e660b5a881b401b2b6735aa5334f433237dcb orion/kirkwood: create a generic function for gpio led blinking
:::::: TO: Arnaud Patard (Rtp) <arnaud.patard@rtp-net.org>
:::::: CC: Jason Cooper <jason@lakedaemon.net>
---
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: 32560 bytes --]
reply other threads:[~2019-08-08 4:36 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=201908081246.aBYx7jVr%lkp@intel.com \
--to=lkp@intel.com \
--cc=kbuild-all@01.org \
--cc=linus.walleij@linaro.org \
--cc=linux-gpio@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