mirror of
https://github.com/LineageOS/android_kernel_fxtec_sm6115.git
synced 2026-04-03 02:43:16 +00:00
net/sched: act_ife: convert comma to semicolon
commit 205305c028ad986d0649b8b100bab6032dcd1bb5 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 <nichen@iscas.ac.cn> Reviewed-by: Jamal Hadi Salim <jhs@mojatatu.com> Link: https://patch.msgid.link/20251112072709.73755-1-nichen@iscas.ac.cn Signed-off-by: Jakub Kicinski <kuba@kernel.org> Cc: Ben Hutchings <ben@decadent.org.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Ulrich Hecht <uli@kernel.org>
This commit is contained in:
@ -623,9 +623,9 @@ static int tcf_ife_dump(struct sk_buff *skb, struct tc_action *a, int bind,
|
||||
|
||||
memset(&opt, 0, sizeof(opt));
|
||||
|
||||
opt.index = ife->tcf_index,
|
||||
opt.refcnt = refcount_read(&ife->tcf_refcnt) - ref,
|
||||
opt.bindcnt = atomic_read(&ife->tcf_bindcnt) - bind,
|
||||
opt.index = ife->tcf_index;
|
||||
opt.refcnt = refcount_read(&ife->tcf_refcnt) - ref;
|
||||
opt.bindcnt = atomic_read(&ife->tcf_bindcnt) - bind;
|
||||
|
||||
spin_lock_bh(&ife->tcf_lock);
|
||||
opt.action = ife->tcf_action;
|
||||
|
||||
Reference in New Issue
Block a user