All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: [android-common:android-4.19-stable 15288/23012] drivers/tty/serial/msm_geni_serial_console.c:479:6: warning: variable 'rx_stale' set but not used
Date: Wed, 28 Jul 2021 11:09:32 +0800	[thread overview]
Message-ID: <202107281126.r9Vky3MB-lkp@intel.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 2115 bytes --]

tree:   https://android.googlesource.com/kernel/common android-4.19-stable
head:   e6f64a043b8f2947387b0b24daabfe716d4b1ee3
commit: 3b328707cf5e600683b13c9b19de3a3f22ea81e0 [15288/23012] ANDROID: serial: msm_geni_serial_console : Add Earlycon support
config: i386-allyesconfig (attached as .config)
compiler: gcc-10 (Ubuntu 10.3.0-1ubuntu1~20.04) 10.3.0
reproduce (this is a W=1 build):
        git remote add android-common https://android.googlesource.com/kernel/common
        git fetch --no-tags android-common android-4.19-stable
        git checkout 3b328707cf5e600683b13c9b19de3a3f22ea81e0
        # save the attached .config to linux build tree
        make W=1 ARCH=i386 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All warnings (new ones prefixed by >>):

   drivers/tty/serial/msm_geni_serial_console.c: In function 'msm_geni_serial_earlycon_setup':
>> drivers/tty/serial/msm_geni_serial_console.c:479:6: warning: variable 'rx_stale' set but not used [-Wunused-but-set-variable]
     479 |  u32 rx_stale = 0;
         |      ^~~~~~~~
>> drivers/tty/serial/msm_geni_serial_console.c:477:6: warning: variable 'rx_parity_cfg' set but not used [-Wunused-but-set-variable]
     477 |  u32 rx_parity_cfg = 0;
         |      ^~~~~~~~~~~~~
>> drivers/tty/serial/msm_geni_serial_console.c:476:6: warning: variable 'rx_trans_cfg' set but not used [-Wunused-but-set-variable]
     476 |  u32 rx_trans_cfg = 0;
         |      ^~~~~~~~~~~~


vim +/rx_stale +479 drivers/tty/serial/msm_geni_serial_console.c

   467	
   468	static int __init
   469	msm_geni_serial_earlycon_setup(struct earlycon_device *dev,
   470			const char *opt)
   471	{
   472		struct uart_port *uport = &dev->port;
   473		int ret = 0;
   474		u32 tx_trans_cfg = 0;
   475		u32 tx_parity_cfg = 0;
 > 476		u32 rx_trans_cfg = 0;
 > 477		u32 rx_parity_cfg = 0;
   478		u32 stop_bit = 0;
 > 479		u32 rx_stale = 0;

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 56850 bytes --]

                 reply	other threads:[~2021-07-28  3:09 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=202107281126.r9Vky3MB-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=kbuild-all@lists.01.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.