* net/sched/act_pedit.c:261:2-3: Unneeded semicolon
@ 2017-02-23 15:57 kbuild test robot
0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2017-02-23 15:57 UTC (permalink / raw)
To: Amir Vadai; +Cc: kbuild-all, linux-kernel, Or Gerlitz
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: bc49a7831b1137ce1c2dda1c57e3631655f5d2ae
commit: 71d0ed7079dffbc5cd0941d77d9b84e04109c9bb net/act_pedit: Support using offset relative to the conventional network headers
date: 13 days ago
coccinelle warnings: (new ones prefixed by >>)
>> net/sched/act_pedit.c:261:2-3: Unneeded semicolon
vim +261 net/sched/act_pedit.c
245 case TCA_PEDIT_KEY_EX_HDR_TYPE_NETWORK:
246 case TCA_PEDIT_KEY_EX_HDR_TYPE_IP4:
247 case TCA_PEDIT_KEY_EX_HDR_TYPE_IP6:
248 *hoffset = skb_network_offset(skb);
249 ret = 0;
250 break;
251 case TCA_PEDIT_KEY_EX_HDR_TYPE_TCP:
252 case TCA_PEDIT_KEY_EX_HDR_TYPE_UDP:
253 if (skb_transport_header_was_set(skb)) {
254 *hoffset = skb_transport_offset(skb);
255 ret = 0;
256 }
257 break;
258 default:
259 ret = -EINVAL;
260 break;
> 261 };
262
263 return ret;
264 }
265
266 static int tcf_pedit(struct sk_buff *skb, const struct tc_action *a,
267 struct tcf_result *res)
268 {
269 struct tcf_pedit *p = to_pedit(a);
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2017-02-23 15:58 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-02-23 15:57 net/sched/act_pedit.c:261:2-3: Unneeded semicolon kbuild test robot
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.