tools/lib/thermal: remove unneeded semicolon
PATCH 1/2 tools/lib/thermal: remove unneeded semicolon
Fix the following coccicheck warnings:
./tools/lib/thermal/commands.c:215:2-3: Unneeded semicolon.
--- tools/lib/thermal/commands.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
tools/lib/thermal/commands.c +1 -1
@@ -212,7 +212,7 @@ static int handle_netlink(struct nl_cache_ops *unused,default :return THERMAL_ERROR ; - }; + }return ret; }
Signature · 1 line
2.20.1.7.g153144c
PATCH 2/2 tools/thermal: remove unneeded semicolon
Fix the following coccicheck warnings:
./tools/thermal/thermometer/thermometer.c:147:3-4: Unneeded semicolon.
--- tools/thermal/thermometer/thermometer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
tools/thermal/thermometer/thermometer.c +1 -1
@@ -144,7 +144,7 @@ static int configuration_init(const char *path, struct configuration *config)if (!node) {ERROR ("Missing node name '%d'\n" , i);return -1 ; - }; + }if (!config_setting_lookup_string (node,"name" , &name)) {ERROR ("Thermal zone name not found\n" );
Signature · 1 line
2.20.1.7.g153144c
[thermal: thermal/next] tools/thermal: remove unneeded semicolon
The following commit has been merged into the thermal/next branch of thermal:
The following commit has been merged into the thermal/next branch of thermal:
Commit-ID: cb4487d2b4043bbe98f60f2628387b40fa4896f8 Gitweb: https://git.kernel.org/pub/scm/linux/kernel/git/thermal/linux.git//cb4487d2b4043bbe98f60f2628387b40fa4896f8 Author: Jiapeng Chong <[email protected]> AuthorDate: Wed, 27 Apr 2022 11:06:19 +08:00 Committer: Daniel Lezcano <[email protected]> CommitterDate: Thu, 19 May 2022 12:11:52 +02:00
tools/thermal: remove unneeded semicolon
Fix the following coccicheck warnings:
./tools/thermal/thermometer/thermometer.c:147:3-4: Unneeded semicolon.
--- tools/thermal/thermometer/thermometer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
tools/thermal/thermometer/thermometer.c +1 -1
@@ -144,7 +144,7 @@ static int configuration_init(const char *path, struct configuration *config)if (!node) {ERROR ("Missing node name '%d'\n" , i);return -1 ; - }; + }if (!config_setting_lookup_string (node,"name" , &name)) {ERROR ("Thermal zone name not found\n" );
The following commit has been merged into the thermal/next branch of thermal:
The following commit has been merged into the thermal/next branch of thermal:
Commit-ID: f21b57eb12bfe0d38794145f976ca8127d8846db Gitweb: https://git.kernel.org/pub/scm/linux/kernel/git/thermal/linux.git//f21b57eb12bfe0d38794145f976ca8127d8846db Author: Jiapeng Chong <[email protected]> AuthorDate: Wed, 27 Apr 2022 11:06:18 +08:00 Committer: Daniel Lezcano <[email protected]> CommitterDate: Thu, 19 May 2022 12:11:52 +02:00
tools/lib/thermal: remove unneeded semicolon
Fix the following coccicheck warnings:
./tools/lib/thermal/commands.c:215:2-3: Unneeded semicolon.
--- tools/lib/thermal/commands.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
tools/lib/thermal/commands.c +1 -1
@@ -212,7 +212,7 @@ static int handle_netlink(struct nl_cache_ops *unused,default :return THERMAL_ERROR ; - }; + }return ret; }