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: <202110171841.gFzJ9hO9-lkp@intel.com>
Date:   Sun, 17 Oct 2021 18:51:47 +0800
From:   kernel test robot <lkp@...el.com>
To:     Maxim Mikityanskiy <maximmi@...dia.com>
Cc:     llvm@...ts.linux.dev, kbuild-all@...ts.01.org,
        linux-kernel@...r.kernel.org, Saeed Mahameed <saeedm@...dia.com>,
        Tariq Toukan <tariqt@...dia.com>
Subject: [saeed:mlx5-queue 9/13] net/core/filter.c:7426:1: warning: unused
 label 'err_out'

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/saeed/linux.git mlx5-queue
head:   46fb2d6328c851496c3bcc5e50a1e58786c83acb
commit: 1a0dafe601fbde2b5de8bfd64bfbdd0cd173d229 [9/13] bpf: Add a helper to issue timestamp cookies in XDP
config: i386-randconfig-a003-20211017 (attached as .config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project 746dd6a700931988dd9021d3d04718f1929885a5)
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # https://git.kernel.org/pub/scm/linux/kernel/git/saeed/linux.git/commit/?id=1a0dafe601fbde2b5de8bfd64bfbdd0cd173d229
        git remote add saeed https://git.kernel.org/pub/scm/linux/kernel/git/saeed/linux.git
        git fetch --no-tags saeed mlx5-queue
        git checkout 1a0dafe601fbde2b5de8bfd64bfbdd0cd173d229
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 ARCH=i386 

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 >>):

>> net/core/filter.c:7426:1: warning: unused label 'err_out' [-Wunused-label]
   err_out:
   ^~~~~~~~
   1 warning generated.


vim +/err_out +7426 net/core/filter.c

  7405	
  7406	BPF_CALL_4(bpf_tcp_raw_gen_tscookie, struct tcphdr *, th, u32, th_len,
  7407		   __be32 *, tsopt, u32, tsopt_len)
  7408	{
  7409		int err;
  7410	
  7411	#ifdef CONFIG_SYN_COOKIES
  7412		if (tsopt_len != sizeof(u64)) {
  7413			err = -EINVAL;
  7414			goto err_out;
  7415		}
  7416	
  7417		if (!cookie_init_timestamp_raw(th, &tsopt[0], &tsopt[1])) {
  7418			err = -ENOENT;
  7419			goto err_out;
  7420		}
  7421	
  7422		return 0;
  7423	#else
  7424		err = -EOPNOTSUPP;
  7425	#endif
> 7426	err_out:
  7427		memset(tsopt, 0, tsopt_len);
  7428		return err;
  7429	}
  7430	

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

Download attachment ".config.gz" of type "application/gzip" (32164 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ