Message ID | 20240709072838.1152880-1-nichen@iscas.ac.cn (mailing list archive) |
---|---|
State | Accepted |
Commit | b07593edd2faf310f9b758896f4f1c6054515be4 |
Delegated to: | Netdev Maintainers |
Headers | show |
Series | [net-next] net/sched: act_skbmod: convert comma to semicolon | expand |
On Tue, Jul 09, 2024 at 03:28:38PM +0800, Chen Ni wrote: > Replace a comma between expression statements by a semicolon. > > Signed-off-by: Chen Ni <nichen@iscas.ac.cn> Thanks, This is a good cleanup. Reviewed-by: Simon Horman <horms@kernel.org>
Hello: This patch was applied to netdev/net-next.git (main) by Jakub Kicinski <kuba@kernel.org>: On Tue, 9 Jul 2024 15:28:38 +0800 you wrote: > Replace a comma between expression statements by a semicolon. > > Signed-off-by: Chen Ni <nichen@iscas.ac.cn> > --- > net/sched/act_skbmod.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Here is the summary with links: - [net-next] net/sched: act_skbmod: convert comma to semicolon https://git.kernel.org/netdev/net-next/c/b07593edd2fa You are awesome, thank you!
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;
Replace a comma between expression statements by a semicolon. Signed-off-by: Chen Ni <nichen@iscas.ac.cn> --- net/sched/act_skbmod.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)