CC: [email protected] TO: Petr Machata <[email protected]> tree: https://github.com/jpirko/linux_mlxsw petrm_resilient head: df2269005def050853e664c954fd987562382c2f commit: df2269005def050853e664c954fd987562382c2f [19/19] wip :::::: branch date: 3 hours ago :::::: commit date: 3 hours ago config: x86_64-randconfig-s022-20201207 (attached as .config) compiler: gcc-9 (Debian 9.3.0-15) 9.3.0 reproduce: # apt-get install sparse # sparse version: v0.6.3-179-ga00755aa-dirty # https://github.com/jpirko/linux_mlxsw/commit/df2269005def050853e664c954fd987562382c2f git remote add jpirko-mlxsw https://github.com/jpirko/linux_mlxsw git fetch --no-tags jpirko-mlxsw petrm_resilient git checkout df2269005def050853e664c954fd987562382c2f # save the attached .config to linux build tree make W=1 C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' ARCH=x86_64
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/ipv4/nexthop.c:1135:9: sparse: sparse: incompatible types in comparison expression (different address spaces): >> net/ipv4/nexthop.c:1135:9: sparse: struct nh_grp_entry [noderef] __rcu * >> net/ipv4/nexthop.c:1135:9: sparse: struct nh_grp_entry * net/ipv4/nexthop.c:2844:13: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected struct nh_group *nhg @@ got struct nh_group [noderef] __rcu *nh_grp @@ net/ipv4/nexthop.c:2876:13: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected struct nh_group *nhg @@ got struct nh_group [noderef] __rcu *nh_grp @@ net/ipv4/nexthop.c: note: in included file (through include/linux/sysctl.h, include/net/net_namespace.h, include/linux/netdevice.h, ...): include/linux/rbtree.h:84:9: sparse: sparse: incompatible types in comparison expression (different address spaces): include/linux/rbtree.h:84:9: sparse: struct rb_node [noderef] __rcu * include/linux/rbtree.h:84:9: sparse: struct rb_node * vim +1135 net/ipv4/nexthop.c df2269005def05 Petr Machata 2020-12-07 1121 df2269005def05 Petr Machata 2020-12-07 1122 static void nh_res_bucket_set_nh(struct nh_res_bucket *bucket, df2269005def05 Petr Machata 2020-12-07 1123 struct nh_grp_entry *nhge) df2269005def05 Petr Machata 2020-12-07 1124 { df2269005def05 Petr Machata 2020-12-07 1125 if (bucket->occupied) { df2269005def05 Petr Machata 2020-12-07 1126 bucket->nh_entry->res.count_buckets--; df2269005def05 Petr Machata 2020-12-07 1127 if (nh_res_entry_is_balanced(bucket->nh_entry)) { df2269005def05 Petr Machata 2020-12-07 1128 bucket->nh_entry->res.in_reserve = false; df2269005def05 Petr Machata 2020-12-07 1129 printk(KERN_WARNING "NHGE %d not in reserve anymore\n", df2269005def05 Petr Machata 2020-12-07 1130 bucket->nh_entry->nh->id); df2269005def05 Petr Machata 2020-12-07 1131 } df2269005def05 Petr Machata 2020-12-07 1132 } df2269005def05 Petr Machata 2020-12-07 1133 df2269005def05 Petr Machata 2020-12-07 1134 bucket->occupied = true; df2269005def05 Petr Machata 2020-12-07 @1135 rcu_assign_pointer(bucket->nh_entry, nhge); df2269005def05 Petr Machata 2020-12-07 1136 df2269005def05 Petr Machata 2020-12-07 1137 nhge->res.count_buckets++; df2269005def05 Petr Machata 2020-12-07 1138 } df2269005def05 Petr Machata 2020-12-07 1139 --- 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]
