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-4.19.y head: a834132bd465f9d7f4049be65648e01cf2533cb8 commit: ff00ef9aac0a8e17f52169c25f70e5c7e88c87c9 [573/611] af_packet: TPACKET_V3: fix fill status rwlock imbalance :::::: branch date: 5 hours ago :::::: commit date: 5 hours ago config: i386-randconfig-s001-20200818 (attached as .config) compiler: gcc-9 (Debian 9.3.0-15) 9.3.0 reproduce: # apt-get install sparse # sparse version: v0.6.2-183-gaa6ede3b-dirty git checkout ff00ef9aac0a8e17f52169c25f70e5c7e88c87c9 # save the attached .config to linux build tree make W=1 C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' ARCH=i386 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 include/uapi/linux/wireless.h, include/linux/wireless.h): /usr/lib/gcc/x86_64-linux-gnu/9/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:951:13: sparse: sparse: context imbalance in >> 'prb_clear_blk_fill_status' - wrong count at exit net/packet/af_packet.c:996:13: sparse: sparse: context imbalance in 'prb_fill_curr_block' - wrong count at exit net/packet/af_packet.c:1015:13: sparse: sparse: context imbalance in '__packet_lookup_frame_in_block' - different lock contexts for basic block net/packet/af_packet.c:2388:17: sparse: sparse: context imbalance in 'tpacket_rcv' - unexpected unlock # https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git/commit/?id=ff00ef9aac0a8e17f52169c25f70e5c7e88c87c9 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-4.19.y git checkout ff00ef9aac0a8e17f52169c25f70e5c7e88c87c9 vim +/prb_clear_blk_fill_status +951 net/packet/af_packet.c f6fb8f100b8073 chetan loke 2011-08-19 950 eea49cc9009767 Olof Johansson 2011-11-02 @951 static void prb_clear_blk_fill_status(struct packet_ring_buffer *rb) ff00ef9aac0a8e John Ogness 2020-08-13 952 __releases(&pkc->blk_fill_in_prog_lock) f6fb8f100b8073 chetan loke 2011-08-19 953 { bc59ba399113fc chetan loke 2011-08-25 954 struct tpacket_kbdq_core *pkc = GET_PBDQC_FROM_RB(rb); f6fb8f100b8073 chetan loke 2011-08-19 955 atomic_dec(&pkc->blk_fill_in_prog); f6fb8f100b8073 chetan loke 2011-08-19 956 } f6fb8f100b8073 chetan loke 2011-08-19 957 :::::: The code at line 951 was first introduced by commit :::::: eea49cc9009767dfbafd673ee577854454b52e0d af_packet: de-inline some helper functions :::::: TO: Olof Johansson <[email protected]> :::::: CC: David S. Miller <[email protected]> --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/[email protected]
.config.gz
Description: application/gzip
_______________________________________________ kbuild mailing list -- [email protected] To unsubscribe send an email to [email protected]
