Skip to content

Commit edb9fab

Browse files
Chen Nigregkh
authored andcommitted
net/sched: act_ife: convert comma to semicolon
commit 205305c upstream. Replace comma between expressions with semicolons. Using a ',' in place of a ';' can have unintended side effects. Although that is not the case here, it is seems best to use ';' unless ',' is intended. Found by inspection. No functional change intended. Compile tested only. Signed-off-by: Chen Ni <[email protected]> Reviewed-by: Jamal Hadi Salim <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Jakub Kicinski <[email protected]> Cc: Ben Hutchings <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent 5b22c6c commit edb9fab

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

net/sched/act_ife.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -649,9 +649,9 @@ static int tcf_ife_dump(struct sk_buff *skb, struct tc_action *a, int bind,
649649

650650
memset(&opt, 0, sizeof(opt));
651651

652-
opt.index = ife->tcf_index,
653-
opt.refcnt = refcount_read(&ife->tcf_refcnt) - ref,
654-
opt.bindcnt = atomic_read(&ife->tcf_bindcnt) - bind,
652+
opt.index = ife->tcf_index;
653+
opt.refcnt = refcount_read(&ife->tcf_refcnt) - ref;
654+
opt.bindcnt = atomic_read(&ife->tcf_bindcnt) - bind;
655655

656656
spin_lock_bh(&ife->tcf_lock);
657657
opt.action = ife->tcf_action;

0 commit comments

Comments
 (0)