linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [saeed:mlx5-queue 9/13] net/core/filter.c:7426:1: warning: unused label 'err_out'
@ 2021-10-17 10:51 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-10-17 10:51 UTC (permalink / raw)
  To: Maxim Mikityanskiy
  Cc: llvm, kbuild-all, linux-kernel, Saeed Mahameed, Tariq Toukan

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

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@intel.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

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-10-17 10:52 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-17 10:51 [saeed:mlx5-queue 9/13] net/core/filter.c:7426:1: warning: unused label 'err_out' kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).