tools/power/x86/intel-speed-select/hfi-events.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
From: Changcheng Deng <deng.changcheng@zte.com.cn>
Fix the following coccicheck review:
tools/power/x86/intel-speed-select/hfi-events.c: 147: Unneeded semicolon
Reported-by: Zeal Robot <zealci@zte.com.cn>
Signed-off-by: Changcheng Deng <deng.changcheng@zte.com.cn>
---
tools/power/x86/intel-speed-select/hfi-events.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/power/x86/intel-speed-select/hfi-events.c b/tools/power/x86/intel-speed-select/hfi-events.c
index e85676711372..2f871c108236 100644
--- a/tools/power/x86/intel-speed-select/hfi-events.c
+++ b/tools/power/x86/intel-speed-select/hfi-events.c
@@ -144,7 +144,7 @@ static int family_handler(struct nl_msg *msg, void *arg)
continue;
res->id = nla_get_u32(tb2[CTRL_ATTR_MCAST_GRP_ID]);
break;
- };
+ }
return 0;
}
--
2.25.1
Rafael, On 2/23/22 10:36, cgel.zte@gmail.com wrote: > From: Changcheng Deng <deng.changcheng@zte.com.cn> > > Fix the following coccicheck review: > tools/power/x86/intel-speed-select/hfi-events.c: 147: Unneeded semicolon > > Reported-by: Zeal Robot <zealci@zte.com.cn> > Signed-off-by: Changcheng Deng <deng.changcheng@zte.com.cn> Can you add this to your thermal-hfi branch please? Regards, Hans > --- > tools/power/x86/intel-speed-select/hfi-events.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/tools/power/x86/intel-speed-select/hfi-events.c b/tools/power/x86/intel-speed-select/hfi-events.c > index e85676711372..2f871c108236 100644 > --- a/tools/power/x86/intel-speed-select/hfi-events.c > +++ b/tools/power/x86/intel-speed-select/hfi-events.c > @@ -144,7 +144,7 @@ static int family_handler(struct nl_msg *msg, void *arg) > continue; > res->id = nla_get_u32(tb2[CTRL_ATTR_MCAST_GRP_ID]); > break; > - }; > + } > > return 0; > }
© 2016 - 2026 Red Hat, Inc.