CC: [email protected]
TO: John Ogness <[email protected]>
CC: "Greg Kroah-Hartman" <[email protected]>

tree:   
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git 
linux-5.4.y
head:   5d35a1803455f87d7209e825d761855f892fc6ff
commit: de236de3df5754fe333367a47ee99ca6e71f0bf2 [928/2438] af_packet: 
TPACKET_V3: fix fill status rwlock imbalance
:::::: branch date: 6 days ago
:::::: commit date: 9 weeks ago
config: parisc-randconfig-s031-20201023 (attached as .config)
compiler: hppa-linux-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.3-17-g2d3af347-dirty
        # 
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git/commit/?id=de236de3df5754fe333367a47ee99ca6e71f0bf2
        git remote add linux-stable-rc 
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git
        git fetch --no-tags linux-stable-rc linux-5.4.y
        git checkout de236de3df5754fe333367a47ee99ca6e71f0bf2
        # 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=parisc 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <[email protected]>


"sparse warnings: (new ones prefixed by >>)"
   net/packet/af_packet.c: note: in included file (through 
arch/parisc/include/uapi/asm/unistd.h, arch/parisc/include/asm/unistd.h, 
include/uapi/linux/unistd.h, ...):
   ./arch/parisc/include/generated/uapi/asm/unistd_32.h:380:41: sparse: sparse: 
no newline at end of file
   net/packet/af_packet.c: note: in included file (through 
include/uapi/linux/wireless.h, include/linux/wireless.h):
   
/opt/cross/gcc-9.3.0-nolibc/hppa-linux/bin/../lib/gcc/hppa-linux/9.3.0/include/stddef.h:406:9:
 sparse: sparse: preprocessor token offsetof redefined
   net/packet/af_packet.c: note: in included file (through 
include/uapi/linux/posix_types.h, include/uapi/linux/types.h, 
include/linux/types.h):
   include/linux/stddef.h:17:9: sparse: this was the original definition
   net/packet/af_packet.c: note: in included file (through 
include/linux/atomic.h, arch/parisc/include/asm/bitops.h, 
include/linux/bitops.h, ...):
>> arch/parisc/include/asm/atomic.h:123:1: sparse: sparse: context imbalance in 
>> 'prb_clear_blk_fill_status' - wrong count at exit
>> arch/parisc/include/asm/atomic.h:122:1: sparse: sparse: context imbalance in 
>> 'prb_fill_curr_block' - wrong count at exit
   net/packet/af_packet.c:1007:13: sparse: sparse: context imbalance in 
'__packet_lookup_frame_in_block' - different lock contexts for basic block
   net/packet/af_packet.c:2401:17: sparse: sparse: context imbalance in 
'tpacket_rcv' - unexpected unlock

vim +/prb_clear_blk_fill_status +123 arch/parisc/include/asm/atomic.h

e5857a6ed6004ca Peter Zijlstra 2016-04-18  116  
e5857a6ed6004ca Peter Zijlstra 2016-04-18  117  #define ATOMIC_OPS(op, c_op)    
                                        \
e5857a6ed6004ca Peter Zijlstra 2016-04-18  118          ATOMIC_OP(op, c_op)     
                                        \
e5857a6ed6004ca Peter Zijlstra 2016-04-18  119          ATOMIC_OP_RETURN(op, 
c_op)                                      \
e5857a6ed6004ca Peter Zijlstra 2016-04-18  120          ATOMIC_FETCH_OP(op, 
c_op)
15e3f6d782fc6ff Peter Zijlstra 2014-03-26  121  
15e3f6d782fc6ff Peter Zijlstra 2014-03-26 @122  ATOMIC_OPS(add, +=)
15e3f6d782fc6ff Peter Zijlstra 2014-03-26 @123  ATOMIC_OPS(sub, -=)
15e3f6d782fc6ff Peter Zijlstra 2014-03-26  124  

:::::: The code at line 123 was first introduced by commit
:::::: 15e3f6d782fc6ff7e004b40642ad895b91ae78bf locking,arch,parisc: Fold 
atomic_ops

:::::: TO: Peter Zijlstra <[email protected]>
:::::: CC: Ingo Molnar <[email protected]>

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/[email protected]

Attachment: .config.gz
Description: application/gzip

_______________________________________________
kbuild mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to