lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202201230619.eSYoDVW1-lkp@intel.com>
Date:   Sun, 23 Jan 2022 06:22:42 +0800
From:   kernel test robot <lkp@...el.com>
To:     Mukesh Kumar Savaliya <msavaliy@...eaurora.org>
Cc:     kbuild-all@...ts.01.org, GNU/Weeb Mailing List <gwml@...weeb.org>,
        linux-kernel@...r.kernel.org,
        Will McVicker <willmcvicker@...gle.com>
Subject: [ammarfaizi2-block:google/android/kernel/common/android-4.19-stable
 527/9999] drivers/tty/serial/msm_geni_serial_console.c:479:6: warning:
 variable 'rx_stale' set but not used

Hi Mukesh,

FYI, the error/warning still remains.

tree:   https://github.com/ammarfaizi2/linux-block google/android/kernel/common/android-4.19-stable
head:   90a691fca4c2525068d9908ac203e9f09e4e33c0
commit: 3b328707cf5e600683b13c9b19de3a3f22ea81e0 [527/9999] ANDROID: serial: msm_geni_serial_console : Add Earlycon support
config: x86_64-allyesconfig (https://download.01.org/0day-ci/archive/20220123/202201230619.eSYoDVW1-lkp@intel.com/config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
        # https://github.com/ammarfaizi2/linux-block/commit/3b328707cf5e600683b13c9b19de3a3f22ea81e0
        git remote add ammarfaizi2-block https://github.com/ammarfaizi2/linux-block
        git fetch --no-tags ammarfaizi2-block google/android/kernel/common/android-4.19-stable
        git checkout 3b328707cf5e600683b13c9b19de3a3f22ea81e0
        # save the config file to linux build tree
        mkdir build_dir
        make W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash drivers/tty/serial/ mm/ sound/soc/

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@...el.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@lists.01.org

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ