CC: [email protected] TO: Lukas Wunner <[email protected]> tree: https://github.com/l1k/linux nft_egress_v4 head: 2044b81f9dcef99e68b9d2aedd993547795bf8b8 commit: c8dd472bbf7724936c5772750d13e024cbe0c923 [3/4] netfilter: Introduce egress hook :::::: branch date: 9 days ago :::::: commit date: 9 days ago config: m68k-randconfig-s032-20201223 (attached as .config) compiler: m68k-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-184-g1b896707-dirty # https://github.com/l1k/linux/commit/c8dd472bbf7724936c5772750d13e024cbe0c923 git remote add l1k https://github.com/l1k/linux git fetch --no-tags l1k nft_egress_v4 git checkout c8dd472bbf7724936c5772750d13e024cbe0c923 # 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=m68k
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/core/dev.c:3272:23: sparse: sparse: incorrect type in argument 4 (different base types) @@ expected restricted __wsum [usertype] csum @@ got unsigned int @@ net/core/dev.c:3272:23: sparse: expected restricted __wsum [usertype] csum net/core/dev.c:3272:23: sparse: got unsigned int net/core/dev.c:3272:23: sparse: sparse: cast from restricted __wsum net/core/dev.c:3272:23: sparse: sparse: incorrect type in argument 4 (different base types) @@ expected restricted __wsum [usertype] csum @@ got unsigned int @@ net/core/dev.c:3272:23: sparse: expected restricted __wsum [usertype] csum net/core/dev.c:3272:23: sparse: got unsigned int net/core/dev.c:3272:23: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned int [usertype] val @@ got restricted __wsum @@ net/core/dev.c:3272:23: sparse: expected unsigned int [usertype] val net/core/dev.c:3272:23: sparse: got restricted __wsum net/core/dev.c:3272:23: sparse: sparse: incorrect type in argument 4 (different base types) @@ expected restricted __wsum [usertype] csum @@ got unsigned int @@ net/core/dev.c:3272:23: sparse: expected restricted __wsum [usertype] csum net/core/dev.c:3272:23: sparse: got unsigned int net/core/dev.c:3272:23: sparse: sparse: cast from restricted __wsum net/core/dev.c:3272:23: sparse: sparse: incorrect type in argument 4 (different base types) @@ expected restricted __wsum [usertype] csum @@ got unsigned int @@ net/core/dev.c:3272:23: sparse: expected restricted __wsum [usertype] csum net/core/dev.c:3272:23: sparse: got unsigned int net/core/dev.c:3272:23: sparse: sparse: cast from restricted __wsum net/core/dev.c:3272:23: sparse: sparse: incorrect type in argument 4 (different base types) @@ expected restricted __wsum [usertype] csum @@ got unsigned int @@ net/core/dev.c:3272:23: sparse: expected restricted __wsum [usertype] csum net/core/dev.c:3272:23: sparse: got unsigned int net/core/dev.c:3272:23: sparse: sparse: cast from restricted __wsum net/core/dev.c:3272:23: sparse: sparse: incorrect type in argument 4 (different base types) @@ expected restricted __wsum [usertype] csum @@ got unsigned int @@ net/core/dev.c:3272:23: sparse: expected restricted __wsum [usertype] csum net/core/dev.c:3272:23: sparse: got unsigned int net/core/dev.c:3272:23: sparse: sparse: cast from restricted __wsum net/core/dev.c: note: in included file (through include/linux/rculist.h, include/linux/pid.h, include/linux/sched.h, ...): >> include/linux/rcupdate.h:729:9: sparse: sparse: context imbalance in >> '__dev_queue_xmit' - different lock contexts for basic block net/core/dev.c:4909:17: sparse: sparse: context imbalance in 'net_tx_action' - different lock contexts for basic block vim +/__dev_queue_xmit +729 include/linux/rcupdate.h ^1da177e4c3f415 Linus Torvalds 2005-04-16 718 000601bb62330f1 Tobias Klauser 2020-07-09 719 /** 000601bb62330f1 Tobias Klauser 2020-07-09 720 * rcu_read_unlock_bh() - marks the end of a softirq-only RCU critical section ^1da177e4c3f415 Linus Torvalds 2005-04-16 721 * ^1da177e4c3f415 Linus Torvalds 2005-04-16 722 * See rcu_read_lock_bh() for more information. ^1da177e4c3f415 Linus Torvalds 2005-04-16 723 */ bc33f24bdca8b6e Paul E. McKenney 2009-08-22 724 static inline void rcu_read_unlock_bh(void) bc33f24bdca8b6e Paul E. McKenney 2009-08-22 725 { f78f5b90c4ffa55 Paul E. McKenney 2015-06-18 726 RCU_LOCKDEP_WARN(!rcu_is_watching(), bde23c6892878e4 Heiko Carstens 2012-02-01 727 "rcu_read_unlock_bh() used illegally while idle"); d8ab29f8be918b3 Paul E. McKenney 2011-10-07 728 rcu_lock_release(&rcu_bh_lock_map); bc33f24bdca8b6e Paul E. McKenney 2009-08-22 @729 __release(RCU_BH); 6206ab9bab620fc Paul E. McKenney 2011-08-01 730 local_bh_enable(); bc33f24bdca8b6e Paul E. McKenney 2009-08-22 731 } ^1da177e4c3f415 Linus Torvalds 2005-04-16 732 :::::: The code at line 729 was first introduced by commit :::::: bc33f24bdca8b6e97376e3a182ab69e6cdefa989 rcu: Consolidate sparse and lockdep declarations in include/linux/rcupdate.h :::::: TO: Paul E. McKenney <[email protected]> :::::: CC: Ingo Molnar <[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]
