kbuild Development List
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Daniel Palmer <daniel@0x0f.com>
Cc: oe-kbuild-all@lists.linux.dev
Subject: [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
Date: Wed, 05 Aug 2026 00:17:51 +0800	[thread overview]
Message-ID: <202608042308.CC4ZLVsO-lkp@intel.com> (raw)

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/202608042308.CC4ZLVsO-lkp@intel.com/config)
compiler: nios2-linux-gcc (GCC) 11.5.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260804/202608042308.CC4ZLVsO-lkp@intel.com/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@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202608042308.CC4ZLVsO-lkp@intel.com/

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 <kernel@esmil.dk>
:::::: CC: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

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

                 reply	other threads:[~2026-08-04 16:18 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202608042308.CC4ZLVsO-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=daniel@0x0f.com \
    --cc=oe-kbuild-all@lists.linux.dev \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox