Re: [PATCH v3 08/13] serial: sh-sci: Introduced function pointers

From: kernel test robot
Date: Thu Feb 27 2025 - 09:33:17 EST


Hi Thierry,

kernel test robot noticed the following build errors:

[auto build test ERROR on tty/tty-testing]
[also build test ERROR on tty/tty-next next-20250227]
[cannot apply to geert-renesas-drivers/renesas-clk tty/tty-linus geert-renesas-devel/next linus/master v6.14-rc4]
[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/Thierry-Bultel/dt-bindings-clock-Add-cpg-for-the-Renesas-RZ-T2H-SoC/20250226-221033
base: https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty.git tty-testing
patch link: https://lore.kernel.org/r/20250226130935.3029927-9-thierry.bultel.yh%40bp.renesas.com
patch subject: [PATCH v3 08/13] serial: sh-sci: Introduced function pointers
config: sh-randconfig-001-20250227 (https://download.01.org/0day-ci/archive/20250227/202502272135.CkFShaQV-lkp@xxxxxxxxx/config)
compiler: sh4-linux-gcc (GCC) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250227/202502272135.CkFShaQV-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/202502272135.CkFShaQV-lkp@xxxxxxxxx/

All errors (new ones prefixed by >>):

>> drivers/tty/serial/sh-sci.c:2918:35: error: 'sci_poll_put_char' undeclared here (not in a function)
2918 | .poll_put_char = sci_poll_put_char,
| ^~~~~~~~~~~~~~~~~


vim +/sci_poll_put_char +2918 drivers/tty/serial/sh-sci.c

2911
2912 static const struct sci_port_ops sci_port_ops = {
2913 .read_reg = sci_serial_in,
2914 .write_reg = sci_serial_out,
2915 .clear_SCxSR = sci_clear_SCxSR,
2916 .transmit_chars = sci_transmit_chars,
2917 .receive_chars = sci_receive_chars,
> 2918 .poll_put_char = sci_poll_put_char,
2919 .set_rtrg = scif_set_rtrg,
2920 .rtrg_enabled = scif_rtrg_enabled,
2921 .shutdown_complete = sci_shutdown_complete,
2922 .prepare_console_write = sci_prepare_console_write,
2923 .console_save = sci_console_save,
2924 .console_restore = sci_console_restore,
2925 .suspend_regs_size = sci_suspend_regs_size,
2926 };
2927

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