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: <202210180407.6a72X1eB-lkp@intel.com>
Date:   Tue, 18 Oct 2022 04:23:13 +0800
From:   kernel test robot <lkp@...el.com>
To:     David Howells <dhowells@...hat.com>
Cc:     kbuild-all@...ts.01.org, Ammar Faizi <ammarfaizi2@...weeb.org>,
        GNU/Weeb Mailing List <gwml@...r.gnuweeb.org>,
        linux-kernel@...r.kernel.org
Subject: [ammarfaizi2-block:dhowells/linux-fs/rxrpc-ringless-5 46/50]
 net/rxrpc/io_thread.c:374:13: warning: unused variable 'delay_ns'

tree:   https://github.com/ammarfaizi2/linux-block dhowells/linux-fs/rxrpc-ringless-5
head:   469cbecffb3d796ca9cce1590515d2aba5a0b39a
commit: 700788b00b7a2ab708c6e008dfccae91a3b24bb5 [46/50] rxrpc: Allow a delay to be injected into packet reception
config: x86_64-randconfig-a005-20221017
compiler: gcc-11 (Debian 11.3.0-8) 11.3.0
reproduce (this is a W=1 build):
        # https://github.com/ammarfaizi2/linux-block/commit/700788b00b7a2ab708c6e008dfccae91a3b24bb5
        git remote add ammarfaizi2-block https://github.com/ammarfaizi2/linux-block
        git fetch --no-tags ammarfaizi2-block dhowells/linux-fs/rxrpc-ringless-5
        git checkout 700788b00b7a2ab708c6e008dfccae91a3b24bb5
        # save the config file
        mkdir build_dir && cp config build_dir/.config
        make W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash net/rxrpc/

If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <lkp@...el.com>

All warnings (new ones prefixed by >>):

   net/rxrpc/io_thread.c: In function 'rxrpc_io_thread':
>> net/rxrpc/io_thread.c:374:13: warning: unused variable 'delay_ns' [-Wunused-variable]
     374 |         s64 delay_ns;
         |             ^~~~~~~~
>> net/rxrpc/io_thread.c:373:22: warning: unused variable 'tstamp' [-Wunused-variable]
     373 |         ktime_t now, tstamp;
         |                      ^~~~~~
>> net/rxrpc/io_thread.c:373:17: warning: unused variable 'now' [-Wunused-variable]
     373 |         ktime_t now, tstamp;
         |                 ^~~
>> net/rxrpc/io_thread.c:372:23: warning: unused variable 'timeout' [-Wunused-variable]
     372 |         unsigned long timeout;
         |                       ^~~~~~~


vim +/delay_ns +374 net/rxrpc/io_thread.c

   363	
   364	/*
   365	 * I/O and event handling thread.
   366	 */
   367	int rxrpc_io_thread(void *data)
   368	{
   369		struct sk_buff_head rx_queue;
   370		struct rxrpc_local *local = data;
   371		struct sk_buff *skb;
 > 372		unsigned long timeout;
 > 373		ktime_t now, tstamp;
 > 374		s64 delay_ns;
   375	
   376		skb_queue_head_init(&rx_queue);
   377	
   378		set_user_nice(current, MIN_NICE);
   379	
   380		for (;;) {
   381			rxrpc_inc_stat(local->rxnet, stat_io_loop);
   382	

-- 
0-DAY CI Kernel Test Service
https://01.org/lkp

View attachment "config" of type "text/plain" (147717 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ