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.bob6m 4/11] arch/arc/include/asm/bitops.h:235:1: sparse: sparse: context imbalance in 'gfs2_remove_from_journal' - different lock contexts for basic block
Date: Tue, 1 Sep 2020 06:32:12 +0800	[thread overview]
Message-ID: <202009010606.2tmTtOpp%lkp@intel.com> (raw)

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/gfs2/linux-gfs2.git for-next.bob6m
head:   fd5ce905071cc34294900a21a773d9f8c72f5119
commit: 13305ed1a4a46cb3cd7352bd793638133e601f01 [4/11] gfs2: Wipe jdata and ail1 in gfs2_journal_wipe, formerly gfs2_meta_wipe
config: arc-randconfig-s032-20200831 (attached as .config)
compiler: arceb-elf-gcc (GCC) 9.3.0
reproduce:
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # apt-get install sparse
        # sparse version: v0.6.2-191-g10164920-dirty
        git checkout 13305ed1a4a46cb3cd7352bd793638133e601f01
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' ARCH=arc 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>


sparse warnings: (new ones prefixed by >>)

   fs/gfs2/meta_io.c: note: in included file (through include/linux/bitops.h, include/linux/kernel.h, include/asm-generic/bug.h, ...):
>> arch/arc/include/asm/bitops.h:235:1: sparse: sparse: context imbalance in 'gfs2_remove_from_journal' - different lock contexts for basic block

# https://git.kernel.org/pub/scm/linux/kernel/git/gfs2/linux-gfs2.git/commit/?id=13305ed1a4a46cb3cd7352bd793638133e601f01
git remote add gfs2 https://git.kernel.org/pub/scm/linux/kernel/git/gfs2/linux-gfs2.git
git fetch --no-tags gfs2 for-next.bob6m
git checkout 13305ed1a4a46cb3cd7352bd793638133e601f01
vim +/gfs2_remove_from_journal +235 arch/arc/include/asm/bitops.h

04e2eee4b02edc Vineet Gupta 2015-03-31  214  
04e2eee4b02edc Vineet Gupta 2015-03-31  215  #define BIT_OPS(op, c_op, asm_op)					\
04e2eee4b02edc Vineet Gupta 2015-03-31  216  									\
04e2eee4b02edc Vineet Gupta 2015-03-31  217  	/* set_bit(), clear_bit(), change_bit() */			\
04e2eee4b02edc Vineet Gupta 2015-03-31  218  	BIT_OP(op, c_op, asm_op)					\
04e2eee4b02edc Vineet Gupta 2015-03-31  219  									\
04e2eee4b02edc Vineet Gupta 2015-03-31  220  	/* test_and_set_bit(), test_and_clear_bit(), test_and_change_bit() */\
04e2eee4b02edc Vineet Gupta 2015-03-31  221  	TEST_N_BIT_OP(op, c_op, asm_op)					\
04e2eee4b02edc Vineet Gupta 2015-03-31  222  									\
04e2eee4b02edc Vineet Gupta 2015-03-31  223  	/* __set_bit(), __clear_bit(), __change_bit() */		\
04e2eee4b02edc Vineet Gupta 2015-03-31  224  	__BIT_OP(op, c_op, asm_op)					\
04e2eee4b02edc Vineet Gupta 2015-03-31  225  									\
04e2eee4b02edc Vineet Gupta 2015-03-31  226  	/* __test_and_set_bit(), __test_and_clear_bit(), __test_and_change_bit() */\
04e2eee4b02edc Vineet Gupta 2015-03-31  227  	__TEST_N_BIT_OP(op, c_op, asm_op)
04e2eee4b02edc Vineet Gupta 2015-03-31  228  
a5a10d99a94660 Noam Camus   2015-05-16  229  #ifndef CONFIG_ARC_PLAT_EZNPS
04e2eee4b02edc Vineet Gupta 2015-03-31  230  BIT_OPS(set, |, bset)
04e2eee4b02edc Vineet Gupta 2015-03-31  231  BIT_OPS(clear, & ~, bclr)
04e2eee4b02edc Vineet Gupta 2015-03-31  232  BIT_OPS(change, ^, bxor)
a5a10d99a94660 Noam Camus   2015-05-16  233  #else
a5a10d99a94660 Noam Camus   2015-05-16  234  BIT_OPS(set, |, CTOP_INST_AOR_DI_R2_R2_R3)
a5a10d99a94660 Noam Camus   2015-05-16 @235  BIT_OPS(clear, & ~, CTOP_INST_AAND_DI_R2_R2_R3)
a5a10d99a94660 Noam Camus   2015-05-16  236  BIT_OPS(change, ^, CTOP_INST_AXOR_DI_R2_R2_R3)
a5a10d99a94660 Noam Camus   2015-05-16  237  #endif
14e968bad788de Vineet Gupta 2013-01-18  238  

:::::: The code at line 235 was first introduced by commit
:::::: a5a10d99a946602cf4ae50eadc65c2480dbd2e56 ARC: [plat-eznps] Use dedicated atomic/bitops/cmpxchg

:::::: TO: Noam Camus <noamc@ezchip.com>
:::::: CC: Vineet Gupta <vgupta@synopsys.com>

---
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: 27882 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/cluster-devel/attachments/20200901/69be7dc6/attachment.gz>

                 reply	other threads:[~2020-08-31 22:32 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=202009010606.2tmTtOpp%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).