Re: [PATCH 2/2] serial: Airoha SoC UART and HSUART support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Benjamin,

kernel test robot noticed the following build errors:

[auto build test ERROR on tty/tty-testing]
[also build test ERROR on tty/tty-next tty/tty-linus linus/master v6.13-rc6 next-20250110]
[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/Benjamin-Larsson/dt-bindings-serial-8250-Add-Airoha-compatibles/20250111-212544
base:   https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty.git tty-testing
patch link:    https://lore.kernel.org/r/20250111132250.3642694-3-benjamin.larsson%40genexis.eu
patch subject: [PATCH 2/2] serial: Airoha SoC UART and HSUART support
config: sh-allmodconfig (https://download.01.org/0day-ci/archive/20250112/202501121822.HT0uHM1g-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/20250112/202501121822.HT0uHM1g-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/202501121822.HT0uHM1g-lkp@xxxxxxxxx/

All errors (new ones prefixed by >>):

>> drivers/tty/serial/8250/8250_airoha.c:55:6: error: redefinition of 'airoha8250_set_baud_rate'
      55 | void airoha8250_set_baud_rate(struct uart_port *port,
         |      ^~~~~~~~~~~~~~~~~~~~~~~~
   In file included from drivers/tty/serial/8250/8250_airoha.c:10:
   drivers/tty/serial/8250/8250.h:328:20: note: previous definition of 'airoha8250_set_baud_rate' with type 'void(struct uart_port *, unsigned int,  unsigned int)'
     328 | static inline void airoha8250_set_baud_rate(struct uart_port *port,
         |                    ^~~~~~~~~~~~~~~~~~~~~~~~


vim +/airoha8250_set_baud_rate +55 drivers/tty/serial/8250/8250_airoha.c

    46	
    47	/**
    48	 * airoha8250_set_baud_rate() baud rate calculation routine
    49	 * @port: uart port
    50	 * @baud: requested uart baud rate
    51	 * @hs: uart type selector, 0 for regular uart and 1 for high-speed uart
    52	 *
    53	 */
    54	
  > 55	void airoha8250_set_baud_rate(struct uart_port *port,

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




[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]


  Powered by Linux