[gfs2:for-next.next5 2/16] fs/gfs2/glops.c:621:1: warning: unused label 'out'
From: kernel test robot
Date: Thu Aug 05 2021 - 03:41:39 EST
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@xxxxxxxxx>
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@xxxxxxxxxxxx
Attachment:
.config.gz
Description: application/gzip