mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Maxim Mikityanskiy <maximmi@nvidia.com>
Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org,
	linux-kernel@vger.kernel.org, Saeed Mahameed <saeedm@nvidia.com>,
	Tariq Toukan <tariqt@nvidia.com>
Subject: [saeed:mlx5-queue 9/13] net/core/filter.c:7426:1: warning: unused label 'err_out'
Date: Sun, 17 Oct 2021 18:51:47 +0800	[thread overview]
Message-ID: <202110171841.gFzJ9hO9-lkp@intel.com> (raw)

[-- 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 --]

                 reply	other threads:[~2021-10-17 10:52 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=202110171841.gFzJ9hO9-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=kbuild-all@lists.01.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=llvm@lists.linux.dev \
    --cc=maximmi@nvidia.com \
    --cc=saeedm@nvidia.com \
    --cc=tariqt@nvidia.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®