[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <201709191523.enXn3mfA%fengguang.wu@intel.com>
Date: Tue, 19 Sep 2017 15:44:47 +0800
From: kbuild test robot <lkp@...el.com>
To: Tom Herbert <tom@...ntonium.net>
Cc: kbuild-all@...org, davem@...emloft.net, netdev@...r.kernel.org,
pablo@...filter.org, laforge@...monks.org, rohit@...ntonium.net,
Tom Herbert <tom@...ntonium.net>
Subject: Re: [PATCH net-next 04/14] gtp: udp recv clean up
Hi Tom,
[auto build test ERROR on net-next/master]
url: https://github.com/0day-ci/linux/commits/Tom-Herbert/gtp-Additional-feature-support/20170919-143920
config: i386-randconfig-x016-201738 (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
reproduce:
# save the attached .config to linux build tree
make ARCH=i386
Note: the linux-review/Tom-Herbert/gtp-Additional-feature-support/20170919-143920 HEAD 737a09b8f9cd56706d01703d17523b0fea907f41 builds fine.
It only hurts bisectibility.
All errors (new ones prefixed by >>):
drivers//net/gtp.c: In function 'gtp_rx':
>> drivers//net/gtp.c:222:21: error: 'gtp' undeclared (first use in this function)
gro_cells_receive(>p->gro_cells, skb);
^~~
drivers//net/gtp.c:222:21: note: each undeclared identifier is reported only once for each function it appears in
drivers//net/gtp.c: In function 'gtp_link_setup':
drivers//net/gtp.c:628:18: error: 'gtp' undeclared (first use in this function)
gro_cells_init(>p->gro_cells, dev);
^~~
vim +/gtp +222 drivers//net/gtp.c
190
191 static int gtp_rx(struct pdp_ctx *pctx, struct sk_buff *skb,
192 unsigned int hdrlen, unsigned int role)
193 {
194 struct pcpu_sw_netstats *stats;
195
196 if (!gtp_check_ms(skb, pctx, hdrlen, role)) {
197 netdev_dbg(pctx->dev, "No PDP ctx for this MS\n");
198 return 1;
199 }
200
201 /* Get rid of the GTP + UDP headers. */
202 if (iptunnel_pull_header(skb, hdrlen, skb->protocol,
203 !net_eq(sock_net(pctx->sk), dev_net(pctx->dev))))
204 return -1;
205
206 netdev_dbg(pctx->dev, "forwarding packet from GGSN to uplink\n");
207
208 /* Now that the UDP and the GTP header have been removed, set up the
209 * new network header. This is required by the upper layer to
210 * calculate the transport header.
211 */
212 skb_reset_network_header(skb);
213
214 skb->dev = pctx->dev;
215
216 stats = this_cpu_ptr(pctx->dev->tstats);
217 u64_stats_update_begin(&stats->syncp);
218 stats->rx_packets++;
219 stats->rx_bytes += skb->len;
220 u64_stats_update_end(&stats->syncp);
221
> 222 gro_cells_receive(>p->gro_cells, skb);
223
224 return 0;
225 }
226
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
Download attachment ".config.gz" of type "application/gzip" (26821 bytes)
Powered by blists - more mailing lists