linux-gpio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Cc: oe-kbuild-all@lists.linux.dev, linux-gpio@vger.kernel.org
Subject: [brgl:gpio/devel 48/62] drivers/pinctrl/pinctrl-st.c:1326:9: error: implicit declaration of function 'st_gpio_direction_input'; did you mean 'st_gpio_direction_output'?
Date: Fri, 13 Oct 2023 13:12:15 +0800	[thread overview]
Message-ID: <202310131321.jDp5kiph-lkp@intel.com> (raw)

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/brgl/linux.git gpio/devel
head:   78853aac42280ea9b48d7abc74b348463cf8588d
commit: e1e2007b6bb0ba0e1bb89235ffde4c0330655c29 [48/62] pinctrl: st: drop the wrapper around pinctrl_gpio_direction_input()
config: arm-randconfig-001-20231013 (https://download.01.org/0day-ci/archive/20231013/202310131321.jDp5kiph-lkp@intel.com/config)
compiler: arm-linux-gnueabi-gcc (GCC) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231013/202310131321.jDp5kiph-lkp@intel.com/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202310131321.jDp5kiph-lkp@intel.com/

All errors (new ones prefixed by >>):

   drivers/pinctrl/pinctrl-st.c: In function 'st_gpio_irq_request_resources':
>> drivers/pinctrl/pinctrl-st.c:1326:9: error: implicit declaration of function 'st_gpio_direction_input'; did you mean 'st_gpio_direction_output'? [-Werror=implicit-function-declaration]
    1326 |         st_gpio_direction_input(gc, d->hwirq);
         |         ^~~~~~~~~~~~~~~~~~~~~~~
         |         st_gpio_direction_output
   cc1: some warnings being treated as errors


vim +1326 drivers/pinctrl/pinctrl-st.c

727b0f71a56de6 Srinivas Kandagatla 2014-01-16  1321  
e855fa9a65c407 Patrice Chotard     2017-03-16  1322  static int st_gpio_irq_request_resources(struct irq_data *d)
e855fa9a65c407 Patrice Chotard     2017-03-16  1323  {
e855fa9a65c407 Patrice Chotard     2017-03-16  1324  	struct gpio_chip *gc = irq_data_get_irq_chip_data(d);
e855fa9a65c407 Patrice Chotard     2017-03-16  1325  
e855fa9a65c407 Patrice Chotard     2017-03-16 @1326  	st_gpio_direction_input(gc, d->hwirq);
e855fa9a65c407 Patrice Chotard     2017-03-16  1327  
c36f8c06ebd0c4 Linus Walleij       2023-04-04  1328  	return gpiochip_reqres_irq(gc, d->hwirq);
e855fa9a65c407 Patrice Chotard     2017-03-16  1329  }
e855fa9a65c407 Patrice Chotard     2017-03-16  1330  

:::::: The code at line 1326 was first introduced by commit
:::::: e855fa9a65c40788b5069abb0d094537daa22e05 pinctrl: st: add irq_request/release_resources callbacks

:::::: TO: Patrice Chotard <patrice.chotard@st.com>
:::::: CC: Linus Walleij <linus.walleij@linaro.org>

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

             reply	other threads:[~2023-10-13  5:13 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-10-13  5:12 kernel test robot [this message]
2023-10-13  7:28 ` [brgl:gpio/devel 48/62] drivers/pinctrl/pinctrl-st.c:1326:9: error: implicit declaration of function 'st_gpio_direction_input'; did you mean 'st_gpio_direction_output'? Bartosz Golaszewski

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=202310131321.jDp5kiph-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=bartosz.golaszewski@linaro.org \
    --cc=linux-gpio@vger.kernel.org \
    --cc=oe-kbuild-all@lists.linux.dev \
    /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).