cluster-devel.redhat.com archive mirror
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: cluster-devel.redhat.com
Subject: [Cluster-devel] [gfs2:for-next.next5 2/16] fs/gfs2/glops.c:621:1: warning: unused label 'out'
Date: Thu, 5 Aug 2021 15:41:26 +0800	[thread overview]
Message-ID: <202108051517.tQ3LsTRJ-lkp@intel.com> (raw)

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/gfs2/linux-gfs2.git for-next.next5
head:   4209ea0bd2aec954d7f521fd22f73882fa79f895
commit: 9214076dfcd10e06bbc44e9173736f7903d2d730 [2/16] gfs2: Fix glock recursion in freeze_go_xmote_bh
config: x86_64-randconfig-c001-20210805 (attached as .config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project 31a71a393f65d9e07b5b0756fef9dd16690950ee)
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/gfs2/linux-gfs2.git/commit/?id=9214076dfcd10e06bbc44e9173736f7903d2d730
        git remote add gfs2 https://git.kernel.org/pub/scm/linux/kernel/git/gfs2/linux-gfs2.git
        git fetch --no-tags gfs2 for-next.next5
        git checkout 9214076dfcd10e06bbc44e9173736f7903d2d730
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=x86_64 

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

>> fs/gfs2/glops.c:621:1: warning: unused label 'out' [-Wunused-label]
   out:
   ^~~~
   1 warning generated.


vim +/out +621 fs/gfs2/glops.c

   596	
   597	/**
   598	 * freeze_go_xmote_bh - After promoting/demoting the freeze glock
   599	 * @gl: the glock
   600	 */
   601	static int freeze_go_xmote_bh(struct gfs2_glock *gl)
   602	{
   603		struct gfs2_sbd *sdp = gl->gl_name.ln_sbd;
   604		struct gfs2_inode *ip = GFS2_I(sdp->sd_jdesc->jd_inode);
   605		struct gfs2_glock *j_gl = ip->i_gl;
   606		struct gfs2_log_header_host head;
   607		int error;
   608	
   609		if (test_bit(SDF_JOURNAL_LIVE, &sdp->sd_flags)) {
   610			j_gl->gl_ops->go_inval(j_gl, DIO_METADATA);
   611	
   612			error = gfs2_find_jhead(sdp->sd_jdesc, &head, false);
   613			if (gfs2_assert_withdraw_delayed(sdp, !error))
   614				return error;
   615			if (gfs2_assert_withdraw_delayed(sdp, head.lh_flags &
   616							 GFS2_LOG_HEAD_UNMOUNT))
   617				return -EIO;
   618			sdp->sd_log_sequence = head.lh_sequence + 1;
   619			gfs2_log_pointers_init(sdp, head.lh_blkno);
   620		}
 > 621	out:
   622		return 0;
   623	}
   624	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all at lists.01.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .config.gz
Type: application/gzip
Size: 33194 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/cluster-devel/attachments/20210805/f1329e94/attachment.gz>

                 reply	other threads:[~2021-08-05  7:41 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=202108051517.tQ3LsTRJ-lkp@intel.com \
    --to=lkp@intel.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;
as well as URLs for NNTP newsgroup(s).