tree: https://git.kernel.org/pub/scm/linux/kernel/git/rdma/rdma.git wip/for-testing head: a8ef74e70f50f10d741bb64757dd205318dfd9c7 commit: a8ef74e70f50f10d741bb64757dd205318dfd9c7 [1/1] Merge branch 'k.o/for-next' into k.o/wip/for-testing config: x86_64-rhel (attached as .config) compiler: gcc-9 (Debian 9.3.0-15) 9.3.0 reproduce (this is a W=1 build): # https://git.kernel.org/pub/scm/linux/kernel/git/rdma/rdma.git/commit/?id=a8ef74e70f50f10d741bb64757dd205318dfd9c7 git remote add rdma https://git.kernel.org/pub/scm/linux/kernel/git/rdma/rdma.git git fetch --no-tags rdma wip/for-testing git checkout a8ef74e70f50f10d741bb64757dd205318dfd9c7 # save the attached .config to linux build tree make W=1 ARCH=x86_64 If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot <lkp@xxxxxxxxx> All errors (new ones prefixed by >>): drivers/infiniband/sw/rxe/rxe_net.c: In function 'rxe_udp_encap_recv': >> drivers/infiniband/sw/rxe/rxe_net.c:164:26: error: 'rdev' undeclared (first use in this function); did you mean 'ndev'? 164 | if (!rxe && is_vlan_dev(rdev)) | ^~~~ | ndev drivers/infiniband/sw/rxe/rxe_net.c:164:26: note: each undeclared identifier is reported only once for each function it appears in vim +164 drivers/infiniband/sw/rxe/rxe_net.c 152 153 static int rxe_udp_encap_recv(struct sock *sk, struct sk_buff *skb) 154 { 155 struct udphdr *udph; 156 struct rxe_dev *rxe; 157 struct net_device *ndev = skb->dev; 158 struct rxe_pkt_info *pkt = SKB_TO_PKT(skb); 159 160 /* takes a reference on rxe->ib_dev 161 * drop when skb is freed 162 */ 163 rxe = rxe_get_dev_from_net(ndev); > 164 if (!rxe && is_vlan_dev(rdev)) 165 rxe = rxe_get_dev_from_net(vlan_dev_real_dev(ndev)); 166 if (!rxe) 167 goto drop; 168 169 if (skb_linearize(skb)) { 170 pr_err("skb_linearize failed\n"); 171 ib_device_put(&rxe->ib_dev); 172 goto drop; 173 } 174 175 udph = udp_hdr(skb); 176 pkt->rxe = rxe; 177 pkt->port_num = 1; 178 pkt->hdr = (u8 *)(udph + 1); 179 pkt->mask = RXE_GRH_MASK; 180 pkt->paylen = be16_to_cpu(udph->len) - sizeof(*udph); 181 182 rxe_rcv(skb); 183 184 return 0; 185 drop: 186 kfree_skb(skb); 187 188 return 0; 189 } 190 --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx
Attachment:
.config.gz
Description: application/gzip