aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChen Ni <[email protected]>2024-07-09 15:28:38 +0800
committerJakub Kicinski <[email protected]>2024-07-11 17:12:15 -0700
commitb07593edd2faf310f9b758896f4f1c6054515be4 (patch)
treee047cec26df3eb853e7536a536f1ceb94c02f833
parent6937693d752e216b54845cfe8d89ced82e6a4568 (diff)
net/sched: act_skbmod: convert comma to semicolon
Replace a comma between expression statements by a semicolon. Signed-off-by: Chen Ni <[email protected]> Reviewed-by: Simon Horman <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
-rw-r--r--net/sched/act_skbmod.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sched/act_skbmod.c b/net/sched/act_skbmod.c
index cd0accaf844a..dc0229693461 100644
--- a/net/sched/act_skbmod.c
+++ b/net/sched/act_skbmod.c
@@ -246,7 +246,7 @@ static int tcf_skbmod_dump(struct sk_buff *skb, struct tc_action *a,
memset(&opt, 0, sizeof(opt));
opt.index = d->tcf_index;
- opt.refcnt = refcount_read(&d->tcf_refcnt) - ref,
+ opt.refcnt = refcount_read(&d->tcf_refcnt) - ref;
opt.bindcnt = atomic_read(&d->tcf_bindcnt) - bind;
spin_lock_bh(&d->tcf_lock);
opt.action = d->tcf_action;