RE: [DO NOT APPLY PATCH v8 14/15] pinctrl: renesas: rzg2l-poeg: output-disable request from GPT on dead time error

From: Biju Das

Date: Sun Nov 23 2025 - 04:17:58 EST


Hi All,

> -----Original Message-----
> From: kernel test robot <lkp@xxxxxxxxx>
> Sent: 23 November 2025 06:34
> Subject: Re: [DO NOT APPLY PATCH v8 14/15] pinctrl: renesas: rzg2l-poeg: output-disable request from
> GPT on dead time error
>
> Hi Biju,
>
> kernel test robot noticed the following build errors:
>
> [auto build test ERROR on geert-renesas-drivers/renesas-pinctrl]
> [also build test ERROR on linusw-pinctrl/devel linusw-pinctrl/for-next geert-renesas-devel/next
> linus/master v6.18-rc6 next-20251121] [If your patch is applied to the wrong git tree, kindly drop us
> a note.
> And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-
> format-patch#_base_tree_information]
>
> url: https://github.com/intel-lab-lkp/linux/commits/Biju/dt-bindings-pwm-rzg2l-gpt-Document-
> renesas-poegs-property/20251122-001415
> base: https://git.kernel.org/pub/scm/linux/kernel/git/geert/renesas-drivers.git renesas-pinctrl
> patch link: https://lore.kernel.org/r/20251121160842.371922-15-biju.das.jz%40bp.renesas.com
> patch subject: [DO NOT APPLY PATCH v8 14/15] pinctrl: renesas: rzg2l-poeg: output-disable request from
> GPT on dead time error
> config: loongarch-randconfig-002-20251123 (https://download.01.org/0day-
> ci/archive/20251123/202511231456.D6amN8I5-lkp@xxxxxxxxx/config)
> compiler: clang version 18.1.8 (https://github.com/llvm/llvm-project
> 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)
> reproduce (this is a W=1 build): (https://download.01.org/0day-
> ci/archive/20251123/202511231456.D6amN8I5-lkp@xxxxxxxxx/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@xxxxxxxxx>
> | Closes:
> | https://lore.kernel.org/oe-kbuild-all/202511231456.D6amN8I5-lkp@intel.
> | com/
>
> All errors (new ones prefixed by >>):
>
> >> drivers/pinctrl/renesas/poeg/rzg2l-poeg.c:97:3: error: call to
> >> undeclared function 'rzg2l_gpt_poeg_disable_req_deadtime_error'; ISO
> >> C99 and later do not support implicit function declarations
> >> [-Wimplicit-function-declaration]
> 97 | rzg2l_gpt_poeg_disable_req_deadtime_error(chip->gpt_dev, chip->index,
> true);
> | ^
> drivers/pinctrl/renesas/poeg/rzg2l-poeg.c:97:3: note: did you mean
> 'rzg2l_gpt_poeg_disable_req_deadtime_err'?
> include/linux/pwm/rzg2l-gpt.h:38:19: note: 'rzg2l_gpt_poeg_disable_req_deadtime_err' declared here
> 38 | static inline int rzg2l_gpt_poeg_disable_req_deadtime_err(void *gpt_device, u8 grp, bool

Will fix the inline function as rzg2l_gpt_poeg_disable_req_deadtime_error.

Cheers,
Biju

> on)
> | ^
> 1 error generated.
>
>
> vim +/rzg2l_gpt_poeg_disable_req_deadtime_error +97 drivers/pinctrl/renesas/poeg/rzg2l-poeg.c
>
> 87
> 88 static void rzg2l_poeg_config_irq(struct rzg2l_poeg_chip *chip)
> 89 {
> 90 if (test_bit(RZG2L_GPT_OABHF, chip->gpt_irq))
> 91 rzg2l_gpt_poeg_disable_req_both_high(chip->gpt_dev, chip->index, true);
> 92
> 93 if (test_bit(RZG2L_GPT_OABLF, chip->gpt_irq))
> 94 rzg2l_gpt_poeg_disable_req_both_low(chip->gpt_dev, chip->index, true);
> 95
> 96 if (test_bit(RZG2L_GPT_DTEF, chip->gpt_irq))
> > 97 rzg2l_gpt_poeg_disable_req_deadtime_error(chip->gpt_dev, chip->index, true);
> 98 }
> 99
>