[chenxing:mstar_v6_5_reorder 560/700] drivers/tty/serial/8250/8250_dw.c:773:42: warning: 'dw8250_starfive_jh7100_data' defined but not used
kernel test robot <[email protected]> Wed, 05 Aug 2026 00:17:51 +0800
| Newsgroups | dev.linux.lists.oe-kbuild-all |
|---|---|
| Message-ID | <[email protected]> |
tree: https://github.com/linux-chenxing/linux.git mstar_v6_5_reorder head: 1a5c60e65ea399670a5384b869c4958338af2799 commit: add6d38b470e2d6763780bb8f4cf970abf5b7402 [560/700] serial: 8250_dw: Reduce useless compatibles config: nios2-allmodconfig (https://download.01.org/0day-ci/archive/20260804/[email protected]/config) compiler: nios2-linux-gcc (GCC) 11.5.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260804/[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_dw.c:773:42: warning: 'dw8250_starfive_jh7100_data' defined but not used [-Wunused-const-variable=] 773 | static const struct dw8250_platform_data dw8250_starfive_jh7100_data = { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ >> drivers/tty/serial/8250/8250_dw.c:767:42: warning: 'dw8250_renesas_rzn1_data' defined but not used [-Wunused-const-variable=] 767 | static const struct dw8250_platform_data dw8250_renesas_rzn1_data = { | ^~~~~~~~~~~~~~~~~~~~~~~~ >> drivers/tty/serial/8250/8250_dw.c:762:42: warning: 'dw8250_armada_38x_data' defined but not used [-Wunused-const-variable=] 762 | static const struct dw8250_platform_data dw8250_armada_38x_data = { | ^~~~~~~~~~~~~~~~~~~~~~ >> drivers/tty/serial/8250/8250_dw.c:757:42: warning: 'dw8250_octeon_3860_data' defined but not used [-Wunused-const-variable=] 757 | static const struct dw8250_platform_data dw8250_octeon_3860_data = { | ^~~~~~~~~~~~~~~~~~~~~~~ vim +/dw8250_starfive_jh7100_data +773 drivers/tty/serial/8250/8250_dw.c 4a218b277fdba3 Emil Renner Berthing 2022-04-22 756 4a218b277fdba3 Emil Renner Berthing 2022-04-22 @757 static const struct dw8250_platform_data dw8250_octeon_3860_data = { ffd381445eac2a Miquel Raynal 2022-04-22 758 .usr_reg = OCTEON_UART_USR, 4a218b277fdba3 Emil Renner Berthing 2022-04-22 759 .quirks = DW_UART_QUIRK_OCTEON, 4a218b277fdba3 Emil Renner Berthing 2022-04-22 760 }; 4a218b277fdba3 Emil Renner Berthing 2022-04-22 761 4a218b277fdba3 Emil Renner Berthing 2022-04-22 @762 static const struct dw8250_platform_data dw8250_armada_38x_data = { ffd381445eac2a Miquel Raynal 2022-04-22 763 .usr_reg = DW_UART_USR, 4a218b277fdba3 Emil Renner Berthing 2022-04-22 764 .quirks = DW_UART_QUIRK_ARMADA_38X, 4a218b277fdba3 Emil Renner Berthing 2022-04-22 765 }; 4a218b277fdba3 Emil Renner Berthing 2022-04-22 766 4a218b277fdba3 Emil Renner Berthing 2022-04-22 @767 static const struct dw8250_platform_data dw8250_renesas_rzn1_data = { ffd381445eac2a Miquel Raynal 2022-04-22 768 .usr_reg = DW_UART_USR, 070e246217230c Phil Edworthy 2022-04-22 769 .cpr_val = 0x00012f32, 070e246217230c Phil Edworthy 2022-04-22 770 .quirks = DW_UART_QUIRK_IS_DMA_FC, 4a218b277fdba3 Emil Renner Berthing 2022-04-22 771 }; 4a218b277fdba3 Emil Renner Berthing 2022-04-22 772 4a218b277fdba3 Emil Renner Berthing 2022-04-22 @773 static const struct dw8250_platform_data dw8250_starfive_jh7100_data = { ffd381445eac2a Miquel Raynal 2022-04-22 774 .usr_reg = DW_UART_USR, 4a218b277fdba3 Emil Renner Berthing 2022-04-22 775 .quirks = DW_UART_QUIRK_SKIP_SET_RATE, 4a218b277fdba3 Emil Renner Berthing 2022-04-22 776 }; 4a218b277fdba3 Emil Renner Berthing 2022-04-22 777 :::::: The code at line 773 was first introduced by commit :::::: 4a218b277fdba357d8e9022ae675c94e59d64b4e serial: 8250: dw: Create a generic platform data structure :::::: TO: Emil Renner Berthing <[email protected]> :::::: CC: Greg Kroah-Hartman <[email protected]> -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki