linux-gpio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [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'?
@ 2023-10-13  5:12 kernel test robot
  2023-10-13  7:28 ` Bartosz Golaszewski
  0 siblings, 1 reply; 2+ messages in thread
From: kernel test robot @ 2023-10-13  5:12 UTC (permalink / raw)
  To: Bartosz Golaszewski; +Cc: oe-kbuild-all, linux-gpio

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [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'?
  2023-10-13  5:12 [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'? kernel test robot
@ 2023-10-13  7:28 ` Bartosz Golaszewski
  0 siblings, 0 replies; 2+ messages in thread
From: Bartosz Golaszewski @ 2023-10-13  7:28 UTC (permalink / raw)
  To: kernel test robot; +Cc: oe-kbuild-all, linux-gpio

On Fri, 13 Oct 2023 at 07:25, kernel test robot <lkp@intel.com> wrote:
>
> 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

Now fixed in the gpio/devel branch.

Bart

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-10-13  7:28 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-10-13  5:12 [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'? kernel test robot
2023-10-13  7:28 ` Bartosz Golaszewski

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).