LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* [gfs2:for-next.next5 2/16] fs/gfs2/glops.c:621:1: warning: unused label 'out'
@ 2021-08-05 7:41 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-08-05 7:41 UTC (permalink / raw)
To: Bob Peterson; +Cc: clang-built-linux, kbuild-all, cluster-devel, linux-kernel
[-- Attachment #1: Type: text/plain, Size: 2449 bytes --]
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@lists.01.org
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 33194 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-08-05 7:41 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-05 7:41 [gfs2:for-next.next5 2/16] fs/gfs2/glops.c:621:1: warning: unused label '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).