Re: [PATCH v4 3/3] serial: sc16is7xx: add support for EXAR XR20M1172 UART

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

 



Hi Konstantin,

kernel test robot noticed the following build errors:

[auto build test ERROR on c6795fbffc4547b40933ec368200bd4926a41b44]

url:    https://github.com/intel-lab-lkp/linux/commits/Konstantin-Pugin/serial-sc16is7xx-announce-support-of-SER_RS485_RTS_ON_SEND/20240420-004819
base:   c6795fbffc4547b40933ec368200bd4926a41b44
patch link:    https://lore.kernel.org/r/20240419124506.1531035-4-rilian.la.te%40ya.ru
patch subject: [PATCH v4 3/3] serial: sc16is7xx: add support for EXAR XR20M1172 UART
config: arc-randconfig-002-20240420 (https://download.01.org/0day-ci/archive/20240420/202404201342.vL0TYDQf-lkp@xxxxxxxxx/config)
compiler: arceb-elf-gcc (GCC) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240420/202404201342.vL0TYDQf-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/202404201342.vL0TYDQf-lkp@xxxxxxxxx/

All errors (new ones prefixed by >>):

>> drivers/tty/serial/sc16is7xx_i2c.c:49:42: error: 'xr20m1172_devtype' undeclared here (not in a function)
      49 |         { "xr20m1172",  (kernel_ulong_t)&xr20m1172_devtype, },
         |                                          ^~~~~~~~~~~~~~~~~
--
>> drivers/tty/serial/sc16is7xx_spi.c:72:42: error: 'xr20m1172_devtype' undeclared here (not in a function)
      72 |         { "xr20m1172",  (kernel_ulong_t)&xr20m1172_devtype, },
         |                                          ^~~~~~~~~~~~~~~~~
--
   {standard input}: Assembler messages:
>> {standard input}:16: Error: symbol `__export_symbol_sc16is762_devtype' is already defined


vim +/xr20m1172_devtype +49 drivers/tty/serial/sc16is7xx_i2c.c

    40	
    41	static const struct i2c_device_id sc16is7xx_i2c_id_table[] = {
    42		{ "sc16is74x",	(kernel_ulong_t)&sc16is74x_devtype, },
    43		{ "sc16is740",	(kernel_ulong_t)&sc16is74x_devtype, },
    44		{ "sc16is741",	(kernel_ulong_t)&sc16is74x_devtype, },
    45		{ "sc16is750",	(kernel_ulong_t)&sc16is750_devtype, },
    46		{ "sc16is752",	(kernel_ulong_t)&sc16is752_devtype, },
    47		{ "sc16is760",	(kernel_ulong_t)&sc16is760_devtype, },
    48		{ "sc16is762",	(kernel_ulong_t)&sc16is762_devtype, },
  > 49		{ "xr20m1172",	(kernel_ulong_t)&xr20m1172_devtype, },
    50		{ }
    51	};
    52	MODULE_DEVICE_TABLE(i2c, sc16is7xx_i2c_id_table);
    53	

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




[Index of Archives]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux PPP]     [Linux FS]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Linmodem]     [Device Mapper]     [Linux Kernel for ARM]

  Powered by Linux