drivers/tty/serial/8250/8250_platform.c:271:36: warning: 'acpi_platform_serial_table' defined but not used
kernel test robot
build bottree: https://github.com/avpatel/linux.git riscv_acpi_b2_v7_611_rc1_full head: 4423be73ba644a89e48da1cebbdf901f04b801f3 commit: 4423be73ba644a89e48da1cebbdf901f04b801f3 [40/40] serial: 8250_platform: Enable generic 16550A platform devices config: arc-defconfig (https://download.01.org/0day-ci/archive/20240731/[email protected]/config) compiler: arc-elf-gcc (GCC) 13.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240731/[email protected]/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 <[email protected]>
| Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/
All warnings (new ones prefixed by >>):
>> drivers/tty/serial/8250/8250_platform.c:271:36: warning: 'acpi_platform_serial_table' defined but not used [-Wunused-const-variable=]
271 | static const struct acpi_device_id acpi_platform_serial_table[] = {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~vim +/acpi_platform_serial_table +271 drivers/tty/serial/8250/8250_platform.c
270
> 271 static const struct acpi_device_id acpi_platform_serial_table[] = { 272 { "RSCV0003", 0 }, // RISC-V Generic 16550A UART
273 { },
274 };
275 MODULE_DEVICE_TABLE(acpi, acpi_platform_serial_table);
276
Signature · 2 lines
0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki